logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: Log4j2 SyslogAppender / SyslogLayout and message format
Date Wed, 20 Aug 2014 19:30:39 GMT
Hello,

Can you give us a specific example of what you'd like to achieve?

Thank you,
Gary


On Tue, Aug 19, 2014 at 7:25 AM, Brett Delle Grazie <
brett.dellegrazie@gmail.com> wrote:

> Hi,
>
> I'm trying to use the SyslogAppender and possibly the SyslogLayout but I
> wanted to customise the message format so that some MDC parameters could be
> added to the content of the message (e.g. by applying a pattern layout to
> the 'message' portion).
>
> Is there any way of achieving this? There used to be with Log4j 1.2.
>
> I appreciate that this can be done with format 5424 but we're using BSD
> format right now.
>
> Thanks,
>
> --
> Kind regards,
>
> Brett
>



-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message