logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frissaer, Jeroen" <jeroen.friss...@be.unisys.com>
Subject RE: JDBCAppender problem
Date Wed, 07 Aug 2002 07:56:58 GMT
Hi Bhushan,

You should use the advanced features of filters.
But filters are not supported by the property configurator, only by th
DOMConfigurator, so you should use an XML properties file, add filters to
category3 to allow only FATAL and ERROR as log output.

If you search the archive, you will find some examples on the implementation
of filters.

Hope this helps
Jeroen

-----Original Message-----
From: Bhangale, Bhushan [mailto:Bhushan.Bhangale@g-trade.com]
Sent: Tuesday, August 06, 2002 4:23 PM
To: 'Log4J Users List'
Subject: RE: JDBCAppender problem


Hi Jeroen,

Yaa now I have used this only........

Can you help me in this?

I am using three appenders

log4j.rootCategory=debug, dest1, dest2, dest3

How can I specify that for dest3 appender only FATAL and ERROR level
messages should log.


"The information in this e-mail, and any attachment therein, is 
confidential and for use by the addressee only. If you are not the 
intended recipient, please return the e-mail to the sender and delete 
it from your computer. Although The Bank of New York attempts to 
sweep e-mail and attachments for viruses, it does not guarantee that 
either are virus-free and accepts no liability for any damage sustained 
as a result of viruses." 


--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>


Mime
View raw message