Re: [log4perl-devel] appender additivity question

2012-02-23 Thread Mike Schilli
On Thu, 23 Feb 2012, Gangemi, Jae wrote: > if i add the following to the config: > log4perl.additivity.Foo = 1 > the messages are only output by the A2 appender, but that really isn't > the behavior i want. This happens if you set log4perl.additivity.Foo = 0 > instead, i would like to se

[log4perl-devel] appender additivity question

2012-02-23 Thread Gangemi, Jae
hello all - suppose i have the following log configuration (yes, i realize appender definitions are missing, but i don't think they are needed to ask this) -- log4perl.rootLogger = INFO, A1 log4perl.category.Foo = ERROR -- now i want to enable TRACE logging on category FOO and output on

[log4perl-devel] indirect appenders

2012-02-23 Thread Vangelis Katsikaros
Hi In http://search.cpan.org/dist/Log-Log4perl/lib/Log/Log4perl/FAQ.pm#I_keep_getting_duplicate_log_messages!_What%27s_wrong? there are two examples (line numbers come from FAQ.pm version 1.35): A) 2 categories both write in the same appender (lines 759-763) B) 2 categories each writes to separa