fixes for syslog input
config improvements
improvements and refactoring