You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Ben Peter <be...@gmx.net> on 2001/01/24 01:50:35 UTC
adjusting loglevel on per apender basis
Hi all,
is it possible to adjust the severity level on a per-appender basis? For
example, could I have a log file in which I dump all output down to DEBUG and
another in which only WARN and ERROR will show? I have read through the
introductory manual and some of the javadoc, and from what it looks like, I can only
specify the level on a per-category basis (log4j.category.com.foo=WARN)
which would affect all appenders.
Thanks is advance,
Ben
--
Ben Peter
ph. +49-(0)173-9262278
fax +49-(0)89-1488-216649
Re: adjusting loglevel on per apender basis
Posted by Ceki Gülcü <cg...@urbanet.ch>.
Ben,
See the Threshold option in AppenderSkeleton. If that doesn't work, read
the FAQ or as this question was answered just a few hours ago, the mailing
list archives. Cheers, Ceki
At 01:50 24.01.2001 +0100, you wrote:
>Hi all,
>
>is it possible to adjust the severity level on a per-appender basis? For
>example, could I have a log file in which I dump all output down to DEBUG and
>another in which only WARN and ERROR will show? I have read through the
>introductory manual and some of the javadoc, and from what it looks like,
>I can only
>specify the level on a per-category basis (log4j.category.com.foo=WARN)
>which would affect all appenders.
>
>Thanks is advance,
>Ben
>
>--
>Ben Peter
>ph. +49-(0)173-9262278
>fax +49-(0)89-1488-216649
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: log4j-user-help@jakarta.apache.org
----
Ceki Gülcü (cgu@urbanet.ch)