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 a separate appender, so i would have this: -- log4perl.rootLogger = INFO, A1 log4perl.category.Foo = TRACE, A2 -- once i do this, i start seeing TRACE messages for Foo also being output by appender A1, which is expected behavior b/c the A2 appender sends the message off unconditionally. 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. instead, i would like to see is the A2 appender continue to log all messages coming out of Foo but still have the A1 appender print out any messages from Foo that are >= the current level of the root appender. so in this case, the A1 appender would print INFO, WARN, etc messages that Foo generates. is there a way to can tell the A2 appender to only forward the message to the A1 appender if it's >= a certain level? thanks! -- -jae ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ log4perl-devel mailing list log4perl-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/log4perl-devel