logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Roytman <MRoyt...@Novarra.com>
Subject RE: Adding a Priority to the Appenders.
Date Thu, 04 Oct 2001 17:58:05 GMT
Also see PriorityFilter class.

> -----Original Message-----
> From: Jon Skeet [mailto:jon.skeet@peramon.com]
> Sent: Thursday, October 04, 2001 12:02 PM
> To: LOG4J Developers Mailing List
> Subject: RE: Adding a Priority to the Appenders.
> 
> 
> > > 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
> details.
> 
> Jon
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: log4j-dev-help@jakarta.apache.org
> 

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


Mime
View raw message