RE: Duplicate messages, help with log4j.properties

2003-03-07 Thread Ebersole, Steven
Just to clarify, I'm not sure how your properties file can be getting huge if you have only defined: log4j.rootLogger=DEBUG, daily log4j.appender.daily=org.apache.log4j.DailyRollingFileAppender Is it just getting huge because you added all the additivity flags? As for setting additivity

RE: Duplicate messages, help with log4j.properties

2003-03-07 Thread Wendy Smoak
As for setting additivity globally, you can specify additivity on the rootLogger (that additivity setting is then inherited by all loggers defined under it). I.E., log4j.rootLogger=DEBUG, daily log4j.additivity.rootLogger=false log4j.appender.daily=org.apache.log4j.DailyRollingFileAppender

RE: Duplicate messages, help with log4j.properties

2003-03-07 Thread Wendy Smoak
Are you actually using a different appender for each class in your application?!?!? No, it was the same appender. I'll have to spend more time reading the manual... my .properties file was pieced together from what I could figure out and examples I found. Thanks! -- Wendy Smoak Applications