Adds syslog logging for asserts.