[logback-user] SyslogAppender

Jason Dusek jason.dusek at gmail.com
Fri Jan 3 00:54:27 CET 2014


Hi All,

I am trying to use the SyslogAppender. One problem I am having
is that the program name is absent, and the PID seems to be
"main". I assume this is because the program name is generically
set to "main" and the PID is actually omitted.

I wanted to confirm this by browsing the source but I am having
some trouble understanding the underlying details. In
particular, what does this code do?

    // http://logback.qos.ch/xref/ch/qos/logback/classic/net/SyslogAppender.html#118
    layout.getInstanceConverterMap().put("syslogStart",
             SyslogStartConverter.class.getName());

I am not as familiar with Java idioms as I could be; and I've
lost the trail at around "syslogStart".

I would like to try working off of SyslogAppenderBase to get a
syslog appender that understands UNIX sockets. Is that something
the project would welcome?

--
Jason Dusek


More information about the Logback-user mailing list