Would you like to create a JIRA and contribute a patch? Gary
On May 14, 2013, at 4:11, Tomek Kaczynski <tomek.kaczyn...@gmail.com> wrote: > Hi, > > In my case I created a SyslogWrapperLayout which can wrap any other > layout, so I put PatternLayout inside SyslogWrapperLayout. As far as I see > that's the only way to get cusomizeable Layout for syslog. Ah, and one more > thing, I don't use SyslogAppender, but a simple SocketAppender with > SyslogWrapperLayout, it works great, > > Obviously that's not a standard way, but that's how log4j2 should work > ;-) > > > > Tomek > > > On Mon, May 13, 2013 at 8:38 PM, Jason B <makotothedra...@gmail.com> wrote: > >> Looking around at the Syslog support, and I noticed that exceptions aren't >> being sent across the wire. I understand that there may be some limit to >> how much data we're sending across with Syslog via TCP, but I was curious >> if there was any custom support for formatters with exceptions. >> >> I came across this old JIRA for that support: >> >> https://issues.apache.org/jira/browse/LOG4J2-136 >> >> ... and looking into RFC5424Layout, I see that it could be added, but I'm >> not sure if our setup is configured properly to make use of it. >> >> - Jason Black >> --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org