Added support for logging to both syslog and stdout simultaneously