Updated the syslog interface to a more OS independent one