Can log4j use the character "/" to build hierarchy in addition to character "."

2009-08-20 Thread sukesh jain
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 _

RE: Need Info/Documentation/Examples for extending log4j for additional fields/info

2009-08-13 Thread sukesh 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

RE: Need Info/Documentation/Examples for extending log4j for additional fields/info

2009-08-12 Thread sukesh jain
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

RE: Need Info/Documentation/Examples for extending log4j for additional fields/info

2009-08-12 Thread sukesh jain
> 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

RE: Need Info/Documentation/Examples for extending log4j for additional fields/info

2009-08-11 Thread sukesh jain
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 >

Need Info/Documentation/Examples for extending log4j for additional fields/info

2009-08-11 Thread sukesh jain
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