added OS-specific switch for syslog address