Add syslog support

Use 1-line "if" statements