add syslog support, add key processing