httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Bianchi <dav...@onlyforfun.net>
Subject Re: [users@httpd] Re: Weird log message
Date Wed, 08 Oct 2008 12:46:10 GMT
André Warnier wrote:
> Michelle Konzack wrote:
>>
>> Does someone know, HOW to stop logging from local IPs like <192.168.*>?

You can use conditional logging for that, I do it all the time to avoid
my own poking to spoil the statistics.

In a pinch:

SetEnvIf Remote_Addr "192\.168\." dontlog
CustomLog /where/you/want/your/logfile combined env=!dontlog

See the documentation about conditional logging.

Davide

-- 
Today's most popular operating system is Microsoft Windows, which
runs multiple applications, networks computers, fetches files off the
hard drive, juggles RAM, and brings everything crashing down with
frightening regularity. - found on the Intranet at a PC company

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message