You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by praveen <pr...@yahoo.com> on 2005/09/02 18:41:18 UTC

Re: how to log to different files

set the additivity of logger to false either in properties file or in the code.

properties file:
log4j.logger.xyzlogger.additivity=false

code:
logger.setAdditivity(false);

all the best.
praveen.


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