Re: Filter: LoggerMatchFilter similar to StringMatchFilter

2006-02-16 Thread Kariem Hussein
SYSTEMS > 111 SW Columbia Street Ste. 950 > Portland, OR 97201 > > Telephone: 503.224.7496 > Cell: 503.997.1367 > Fax:503.222.0185 > > [EMAIL PROTECTED] > > www.comotivsystems.com > > > > -Original Message- > From: Ka

Filter: LoggerMatchFilter similar to StringMatchFilter

2006-02-16 Thread Kariem Hussein
Hi, In order to have filter based on the java package name, we have added a LoggerMatchFilter that extends the org.apache.log4j.filter.StringMatchFilter. It makes the decision based on the event's logger fqdn, which in our case usually is the package name. Could this be useful for anybody else? O

Filter for Logger FQDN

2006-02-14 Thread Kariem Hussein
Hi, As this is the first time sending mail to this dev-list, please do not hesitate to tell me what I am doing wrong. Based on the StringMatchFilter implementation a friend of mine (Bijan Fathi) has created the attached LoggerMatchFilter. It uses the logger's fqdn and acts similar to the StringMa