logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <Wendy.Sm...@asu.edu>
Subject RE: Appender logging to 2 logs - how to stop it
Date Fri, 07 Nov 2003 18:46:11 GMT
Otis wrote:
> I am using log4j 1.2.8 (under JBoss).  I'm having a problem with one
of my Appenders
> logging to multiple log files, even though I didn't configure it to do
this.

I don't know how to do it in an xml config file, but I have this in
log4j.properties:

# set the additivity to avoid duplicate messages
log4j.additivity.rootLogger=false 

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM 

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org


Mime
View raw message