Thanks for the fast response. LogBack uses 1.5 jdk and we're not quite ready to upgrade that to 5.
Is there a way I can use log4j or commons to accomplish the type of filter I mentioned? Regards, Chris ----- Original Message ---- From: Ceki Gülcü <[EMAIL PROTECTED]> To: Log4J Users List <[email protected]>; [email protected] Sent: Thursday, February 22, 2007 4:05:57 PM Subject: Re: Excluding IP from log without custom filter Log4j does not do access logging. For access logs, you should be looking at the logback project. At 10:02 PM 2/22/2007, Chris Fellows wrote: >Hello, Im looking for a way to exclude a particular IP address from my >localhost_access-yyyy-mm-dd.txt logs in tomcat 5.0. I gather from >searching the mail archives, I could write a custom filter, but is there a >way to do this through configuration instead? It does look like 1.3 offers >this through exclusion filters, but were not quite ready to do a full >upgrade across all our webapps. Example of logged entry to be excluded: >192.168.126.3 - - [22/Feb/2007:11:10:07 -0500] "GET / HTTP/0.9" 200 12248 >"-" "-" Thanks for any help, Chris -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
