Jesred - Rewrite Log Format

If an URL is rewritten via jesred and rewrite logging is enabled, an entry is append to rewrite_log using the following format:

Timestamp Client/Ident URL RURL rule_no

with:
Timestamp
The time when the lookup is completed (value is given back to squid).
The format is "Unix time" (seconds since Jan 1, 1970) with millisecond resolution.
Client
The IP address of the connecting client.
Ident
The result of the RFC931/ident lookup of the client username. If RFC931/ident lookup is disabled (default: `ident_lookup off'), it is logged as - .
URL
The requested URL.
RURL
The replaced URL.
rule_no
The number of the rule in the rules file, which caused the replacement.

For example:

895380287.140 141.44.25.26/- http://ad.doubleclick.net/ad/idg.sw.com/two;sz=125x125 http://141.44.30.2/images/dot.gif 10
895380317.016 141.44.25.26/- http://ads02.focalink.com/SmartBanner/nph-graphic/31.75-199851742858 http://141.44.30.2/images/dot.gif 12
895459759.288 141.44.25.26/- http://199.78.52.10/~web_ani/A1317AAH.gif http://141.44.30.2/images/dot.gif 8



|  Home   |  ProxyCache   |  W3-Tools   |  
Jens Elkner    <jel+web@linofee.org>