Hi,
   The isssue is https://issues.apache.org/jira/browse/LOG4J2-256

    Whe should I put source and how ?
log4j2\core\src\main\java\org\apache\logging\log4j\core\layout is a good
location ?

Tomek



On Tue, May 14, 2013 at 9:48 PM, Jason B <makotothedra...@gmail.com> wrote:

> I find this interesting...you had to go back a few levels to implement this
> sort of custom behavior.  I'd love to see your patches, since I'm curious
> if this can be incorporated into the SyslogAppender as opposed to going one
> or two levels above it.
>
> - Jason Black
>
>
> On Tue, May 14, 2013 at 2:10 AM, 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
> > >
> >
>

Reply via email to