Set different message formats for stdout and syslog