logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <lis...@qos.ch>
Subject Re: Excluding IP from log without custom filter
Date Thu, 22 Feb 2007 21:05:57 GMT

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, I’m 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 we’re 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: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message