Logs and records system events to syslog.