|
From: Mike S. <m...@pe...> - 2008-01-23 08:20:17
|
On Mon, 21 Jan 2008, Steven Lembark wrote:
> Our config's are in a static configuration, so I need to find some way
> of specifying:
>
> log4perl.appender.VERBOSE = # i.e., nada, no appenders by default
Hmm, would a threshold setting suffice?
log4perl.appender.VERBOSE.Threshold = OFF
> Q: Is there any way to create a logger whose root has an appender for,
> say, the screen but whose "log4per.appender.VERBOSE = <whatever>"
> entry fully overrides this with no appenders at all?
I'm not sure I'm interpreting the question correctly, but I'd say that's
a threshold setting as well:
http://log4perl.sourceforge.net/d/Log/Log4perl/FAQ.html#a6c81
-- Mike
Mike Schilli
m...@pe...
|