My goal is to pass messages from logback to syslog. I have categorized log messages and need to forward specific category to syslog.
Category name which needs to be passed to syslog is SERVICE_DOWN
I have found solution how to configure a syslog appender for logback:
<appender name="SYSLOG" class="ch.qos.logback.classic.net.SyslogAppender">
<suffixPattern>[%thread] %logger %msg</suffixPattern>
<!-- other appenders as already present -->
So I need to adjust filter to this appender which will filter my category