Re: "additivity" attribute does not work for user-defined logger but works for root logger.

2008-07-03 Thread Carol Enderlin
My answers below... > Why the root logger defined: > > > > > > knows that all the logs from ALL the classes should go the the file > specified by appenders:taskRedirection, addQuestionSequenceOrder That's the way it's supposed to work, root logger gets everything unle

Re: Creating custom levels

2005-06-23 Thread Carol Enderlin
Look for XLevel.java in log4j distribution directory like : logging-log4j-1.2.9\examples\customLevel Then the trick to using it is to specify the level with the name of the level plus # plus fully qualified classname like: log4j.rootLogger=TRACE#customlevel.XLevel, STDOUT On 6/23/05, Joseph Sar