allow stdout/stderr logging

allow logs to be piped to syslog for example