Added syslog support.
Added if def flags to logpath and logappend.
Merge pull request #95 from actionjack/syslog-support

Added syslog support.