RE: log4j custom filters how to?

2006-07-05 Thread Shroff, Sushama
: Tuesday, July 04, 2006 2:23 AM To: Log4J Users List Subject: RE: log4j custom filters how to? If you use xml configuration file you can attach one ore more self written filter class(es): example: appender name=CONSOLE.OUT class=org.apache.log4j.ConsoleAppender param name=target value

RE: log4j custom filters how to?

2006-07-05 Thread Scott Deboy
: 503.222.0185 [EMAIL PROTECTED] www.comotivsystems.com -Original Message- From: Shroff, Sushama [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 05, 2006 10:53 AM To: [EMAIL PROTECTED] Cc: log4j-user@logging.apache.org Subject: RE: log4j custom filters how to? Heri, Thanks a lot. I need a feature

RE: log4j custom filters how to?

2006-07-05 Thread Shroff, Sushama
Users List Subject: RE: log4j custom filters how to? Try ExpressionFilter: http://svn.apache.org/viewvc/logging/log4j/trunk/src/java/org/apache/log 4j/filter/ExpressionFilter.java?view=markup Scott Deboy Principal Engineer COMOTIV SYSTEMS 111 SW Columbia Street Ste. 950 Portland, OR 97201

RE: log4j custom filters how to?

2006-07-04 Thread Rohit B Rai
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 RD (India) Pvt. Ltd. -- If you haven't found

RE: log4j custom filters how to?

2006-07-04 Thread Bender Heri
If you use xml configuration file you can attach one ore more self written filter class(es): example: appender name=CONSOLE.OUT class=org.apache.log4j.ConsoleAppender param name=target value=System.out/ layout class=org.apache.log4j.PatternLayout param