On Wed, 3 Nov 2010, Huang, Jack wrote:

> It looks like both the root and the Test_Log4perl categories are
> logging the same messages from Test_Log4perl if the message levels are
> higher than the log level configured for Test_Log4perl. Can we log
> such messages just once?

Yeah, you need to use the 'additivity' flag as described here:

     
http://search.cpan.org/dist/Log-Log4perl/lib/Log/Log4perl/FAQ.pm#I_keep_getting_duplicate_log_messages!_What%27s_wrong?

-- Mike

Mike Schilli
m...@perlmeister.com

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/log4perl-devel

Reply via email to