On Dec 17, 2007, at 1:50 PM, Mak, Howard wrote:

Thanks for your response.

Here is what I'm trying to achieve:

(1)     File A contains all logs
(2)     File B contains only the FATAL/ERROR/WARN logs in file A

In other words, (2) provides a bird's eye view of problems that can be easily missed when reading in (1) (which can be quite big).

Is my only option to write a filter-by-Level appender to be used by (1)?

- Howard


Set the level on rootLogger to ALL, attach two appenders to the root logger, set the threshold on the second appender to WARN.

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

Reply via email to