system log writes to memory now
function to handle the syslog