It is very easy. You just have to extend the AppenderSkeleton abstract
class.

And write your implementation login in the append method.

Regards,

Rohit B. Rai,
Cordys R&D (India) Pvt. Ltd.
------------------------------------------------------------------------
------
If you haven't found something you are willing to die for, you are not
fit to live!


-----Original Message-----
From: Shroff, Sushama [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 04, 2006 2:49 AM
To: log4j-user@logging.apache.org
Subject: log4j custom filters how to?

Hi,

 

I am a new user to log4j. I need to write certain custom filters for
log4j and am wondering how it is to be done.

Any help regarding the same will be appreciated.

 

Thanks,

Sushama Shroff

 


***************************************************************************************************
The information in this message is confidential and may be legally  privileged. 
It is intended solely for the addressee. Access to this message by anyone else 
is 
unauthorized. If you are not the intended recipient, any disclosure, copying, 
or 
distribution of the message, or any action or omission taken by you in reliance 
on it is prohibited and may be unlawful. Please immediately contact the sender 
if 
you have received this message in error. This email does not constitute any 
commitment  from Cordys Holding BV or any of its subsidiaries except when 
expressly agreed in a written agreement between the intended recipient and 
Cordys Holding BV or its subsidiaries.
 
***************************************************************************************************


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

Reply via email to