Hi,
Is it possible to configure log4j to use "/" in addition to "." to build the
hierarchy of loggers.
For example:
/
/Parent
/Child
in addition to "Parent.Child".
Is there any configuration to achieve the above scenario?
Thanks & Regards,
Jain
_
ing log4j for
> additional fields/info
> Date: Wed, 12 Aug 2009 08:51:00 -0500
>
>
> On Aug 12, 2009, at 4:16 AM, sukesh jain wrote:
>
> >
> > Hi,
> >
> > But MDC requires that you know the key well in advance to be put in
> > the configuration fi
of something like this:
> public void testmethod()
> {
> MDC.put("compName", componentName1);
> MDC.put("classification", classification1);
> logger.info(msg);
> }
>
> this does not resolve your issue?
>
> On Wed, Aug 12, 2009 at 12:16 PM, sukesh jai
> On Tue, Aug 11, 2009 at 7:16 PM, sukesh jain wrote:
>
> >
> > Hi,
> >
> > My problem is some what similar to one mentioned in this link (
> > http://www.jajakarta.org/log4j/jakarta-log4j-1.1.3/docs/deepExtension.html
> > )
> >
> > In brief
t is it that you are trying to accomplish?
>
> sukesh jain 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
>
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