logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srivastava, Abhinav" <asriv...@amgen.com>
Subject writing to multiple files
Date Fri, 04 Jun 2004 00:40:07 GMT
The properties file :
log4j.category.X=DEBUG, Ap1
log4j.category.X.Y.Z=DEBUG, Ap2
log4j.category.X.Additivity=false

and the code 
log = LogFactory.getLog("X.Y.Z");
log.error("message");

I get the output in both the appenders Ap1 and Ap2
though I expect it to go to only Ap2

????

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


Mime
View raw message