Adding syslog sql