logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yair Ogen <yairo...@gmail.com>
Subject Re: Need Info/Documentation/Examples for extending log4j for additional fields/info
Date Tue, 11 Aug 2009 15:24:27 GMT
I would suggest NDC or MDC.

On Tue, Aug 11, 2009 at 6:12 PM, sukesh jain <jainsukesh@hotmail.com> wrote:

>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Hi all,
>
> I searched the Bugzilla repository and also the log4j manual, with the text
> "additional fields/info/properties" and "loggingEvent" but still did not
> found
> any pointers specifying how to add few custom fields or properties (I guess
> it
> must go to LoggingEvent) that would appear finally in the log files.
>
> As mentioned earlier I guess it has to be in LoggingEvent but while
> searching
> web, I found that it is not recommended or not the proper way as many
> issues
> are created because of it. Hence, I would like to know the pointers to
> proper
> way of achieving this.
>
> If someone has come across any documentation/examples it would be really
> helpful. Thanks in advance.
>
> Regards,
>
> Jain
> _________________________________________________________________
> We all see it as it is. But on MSN India, the difference lies in
> perspective.
> http://in.msn.com
>

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