|
From: Mike S. <m...@pe...> - 2010-11-08 03:31:39
|
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...@pe...
|