[logback-user] Syslog appender

Math Roy vrkp1999 at gmail.com
Fri Aug 17 22:58:54 CEST 2012


I have looked at the documentation several times and not able to do the
following.

The hostname on my device returns the string "hostname". I see that
SyslogConverter returns
this string.  I want to be able to replace that with the ip+mac address of
the machine.
Like this:
23:19:23:18:23:45+192.168.1.1
Is there a easy way to do this.

Also I looked at changing the suffixPattern to achieve this. How can I
change it in java.
With xml the pattern is fixed and I cannot put the mac/ip address.

Thanks,
Roy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20120817/6473778e/attachment.html>


More information about the Logback-user mailing list