added support for syslog