Looking for hints/tips on how to create a logger that sends to syslog


(Chris Doré) #1

I would like to create a logger that I can use to send certain messages to syslog (I don’t want all logging going to syslog, just some specific ones). My first attempt was to create a log4j logger with a SyslogAppender, however I eventually found that log4j-over-slf4j was causing me issues/conflicts. I don’t have any experience with slf4j so before I do too much education I thought I’d see if anyone had some tips on how to do what I’m after.

Thanks, Chris