logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Skeet" <jon.sk...@peramon.com>
Subject RE: Adding a Priority to the Appenders.
Date Thu, 04 Oct 2001 17:02:15 GMT
> > But now all priorities (assuming that the priority for 
> > category is DEBUG)
> > will be logged both in the file and in the NT eventlog. Our 
> > requirements
> > state that only log messages with the priority FATAL should 
> > be logged to
> > the NT eventlog and all should be logged to the file. This 
> > could be done
> > if the appender classes had a priority.

The correct way of doing this is to use the existing Threshold attribute
on an appender. Search for "threshold" in the mailing list archives for


To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org

View raw message