On Mon, 3 Mar 2003 11:51:19 +0100, Hazejager, S. - SPLXE wrote:

>Hi,
>
>I'm looking for a (simple) solution to the following problem.
>We would like to be able to configure one logging level for our entire
>application, with output going to one file (intended to be read by
>developers and maintenance). In addition, we would like FATAL errors to go
>to a separate file (for operations). No lower levels should be logged, even
>if the global level is set to DEBUG.
>Is this possible with only one configured logger (i.e. the root logger)?

Use two appenders. Attach a simple filter to the "fatal" appender that
filters log4 with only fatal level.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to