|
Apache::LogIgnore - mod_perl log handler to ignore connections |
Apache::LogIgnore - mod_perl log handler to ignore connections
in your httpd.conf file, put this in the mod_perl load block (if you have one)
<Location />
PerlLogHandler Apache::LogIgnore
PerlSetVar DebugFlag 1
#Turn Debugging on
PerlSetVar IgnoreHost 192.168.0.2
#Dont log connections from host
#Exact match
PerlSetVar IgnoreAgent Moz
#Dont log connections using agent
#Containing match, case insensitive
PerlSetVar IgnoreReferer 192.168.0.2
#Dont log connections referred by IP
#Containing match, case insensitive
PerlSetVar IgnoreFrom foo@bar.com
#Dont log connections from Agents with certain E-Mail addresses set
#Containing match, case insensitive
PerlSetVar IgnoreMinSize 100
#Dont log connections below 100 bytes
PerlSetVar IgnoreMaxSize 400000
#Dont log connections above 400000 bytes
PerlSetVar IgnoreType Image
#Dont log connections to certain mime-types
#Containing match, case insensitive
PerlSetVar IgnoreStatus 403
#Dont log status code
#Exact match
</Location>
This mod_perl log handler can be used to ignore connections which match the criteria.
Use the following settings in your apache config file.
Example would be :
IgnoreStatus !200
Don't log any request beside the ones resulting in a 200 status.
None by default.
This is Apache::LogIgnore 0.03.
Hendrik Van Belleghem <lt> beatnik - at - quickndirty - dot - org<t>
|
Apache::LogIgnore - mod_perl log handler to ignore connections |