Re: Problem logging data from different classes to different log files
Posted By:
Christopher_Koenigsberg
Posted On:
Saturday, January 13, 2007 12:17 AM
If you want to send a logger to a different Appender than its parent, I think you also have to add a line for that logger, saying "additivity=false". So you'll have one line saying "log4j.logger.my.package=DEBUG,MyAppender" but then you need another line saying "log4j.logger.my.package.additivity=FALSE".