Fixing syslog output for stdout