Also see PriorityFilter class. > -----Original Message----- > From: Jon Skeet [mailto:[EMAIL PROTECTED]] > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]