Re: [log4perl-devel] appender additivity question

2012-03-06 Thread Mike Schilli
On Fri, 24 Feb 2012, Gangemi, Jae wrote: > i figured out that i can do this w/ a custom filter on the root logger > appender. if the category matches Foo and it's log message level is < > INFO, it will be blocked, otherwise it would logged by the root logger. That's perfect! -- -- Mike Mike S

Re: [log4perl-devel] appender additivity question

2012-03-06 Thread Gangemi, Jae
i looked at the threshold, but that doesn't solve my problem. i still want the root logging level to be set to DEBUG even when i've turned on the additional logging for Foo. i figured out that i can do this w/ a custom filter on the root logger appender. if the category matches Foo and it'

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