Using the sys::syslog library to log the messeages