Improve syslog log module
Improve syslog log module

Simplified the code.

Wingless-Archangel/haka,lcheylus/haka,haka-security/haka,lcheylus/haka,lcheylus/haka,nabilbendafi/haka,Wingless-Archangel/haka,haka-security/haka,nabilbendafi/haka,haka-security/haka,nabilbendafi/haka,LubyRuffy/haka,LubyRuffy/haka