Add logging to stout and syslog.