thank you very much everything works as wanted…
now, not really On Topic, but, can you tell me is it possible to “cut” the log only to really important things? I mean my current log averages to around 100MB a day and i’ll be running out of space soon…
i mean web proxy generates a lot of logs for everything so it would be nice to remove all the “debugging” infos…
2008-08-08 00:04:49 Local7.Debug ch1 web-proxy,account 192.168.20.201 GET > http://www.google.hr/ > action=allow cache=MISS
2008-08-08 00:04:49 Local7.Debug ch1 web-proxy,debug GET / HTTP/1.1
2008-08-08 00:04:49 Local7.Debug ch1 web-proxy,debug Accept: /
2008-08-08 00:04:49 Local7.Debug ch1 web-proxy,debug Accept-Language: hr
2008-08-08 00:04:49 Local7.Debug ch1 web-proxy,debug Accept-Encoding: gzip, deflate
2008-08-08 00:04:49 Local7.Debug ch1 web-proxy,debug User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1)
2008-08-08 00:04:49 Local7.Debug ch1 web-proxy,debug Host: > http://www.google.hr
2008-08-08 00:04:49 Local7.Debug ch1 web-proxy,debug Cookie: PREF=ID=4f9a1a7517740591:TM=1190994769:LM=1206560191:S=fltWGzzvCuwZPtv; SID=DQAAAHEAAAAACdHnFc7Nh30C708whtGtFOgcyp90nR02vJKElbQ0FnBg7yuFztriN2j6GQwhiLqKHpbeI6Iow1kz_9qTqCLs8CF0hWiqkASs152e1DovJcWChhOs3QRz8XaukDQRkDG7qH0BpWZFrvhsyAeKkS7aF0bIth
2008-08-08 00:04:49 Local7.Debug ch1 web-proxy,debug gTmHP4Xss3xE9DQ; NID=13=ManWvEJOUgBjv-mFuL4-sr5hxtUT8jOwETYmz1Yb7bKYe6qpnR3dkPods-rNA0iInvGYXx8eBVFqSkmk3_p0qOGp7cXbpfi_xeO7ZKkzINIiodHvVYEUHL2OH0uK1V9F
2008-08-08 00:04:49 Local7.Debug ch1 web-proxy,debug X-Proxy-ID: 1355529342
2008-08-08 00:04:49 Local7.Debug ch1 web-proxy,debug X-Forwarded-For: 192.168.20.201
2008-08-08 00:04:49 Local7.Debug ch1 web-proxy,debug Via: 1.1 192.168.20.1 (Mikrotik HttpProxy)
2008-08-08 00:04:49 Local7.Debug ch1 web-proxy,debug
2008-08-08 00:04:50 Local7.Debug ch1 web-proxy,debug Response to "GET > http://www.google.hr/> ":
2008-08-08 00:04:50 Local7.Debug ch1 web-proxy,debug HTTP/1.1 200 OK
2008-08-08 00:04:50 Local7.Debug ch1 web-proxy,debug Cache-Control: private, max-age=0
2008-08-08 00:04:50 Local7.Debug ch1 web-proxy,debug Date: Thu, 07 Aug 2008 22:04:28 GMT
2008-08-08 00:04:50 Local7.Debug ch1 web-proxy,debug Expires: -1
2008-08-08 00:04:50 Local7.Debug ch1 web-proxy,debug Content-Type: text/html; charset=UTF-8
2008-08-08 00:04:50 Local7.Debug ch1 web-proxy,debug Content-Encoding: gzip
2008-08-08 00:04:50 Local7.Debug ch1 web-proxy,debug Server: gws
2008-08-08 00:04:50 Local7.Debug ch1 web-proxy,debug Content-Length: 3067
2008-08-08 00:04:50 Local7.Debug ch1 web-proxy,debug
2008-08-08 00:04:59 Local7.Debug ch1 web-proxy,account 192.168.20.201 GET > http://www.rapidshare.com/ > action=allow cache=MISS
2008-08-08 00:04:59 Local7.Debug ch1 web-proxy,debug GET / HTTP/1.1
2008-08-08 00:04:59 Local7.Debug ch1 web-proxy,debug Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, /
2008-08-08 00:04:59 Local7.Debug ch1 web-proxy,debug Accept-Language: hr
2008-08-08 00:04:59 Local7.Debug ch1 web-proxy,debug Accept-Encoding: gzip, deflate
2008-08-08 00:04:59 Local7.Debug ch1 web-proxy,debug User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1)
2008-08-08 00:04:59 Local7.Debug ch1 web-proxy,debug Host: > http://www.rapidshare.com
2008-08-08 00:04:59 Local7.Debug ch1 web-proxy,debug Cookie: user=4276129-%38%37%4B%4B%73%65%55%53%71%74
2008-08-08 00:04:59 Local7.Debug ch1 web-proxy,debug X-Proxy-ID: 1355529342
2008-08-08 00:04:59 Local7.Debug ch1 web-proxy,debug X-Forwarded-For: 192.168.20.201
2008-08-08 00:04:59 Local7.Debug ch1 web-proxy,debug Via: 1.1 192.168.20.1 (Mikrotik HttpProxy)
2008-08-08 00:04:59 Local7.Debug ch1 web-proxy,debug
2008-08-08 00:04:59 Local7.Debug ch1 web-proxy,debug Response to "GET > http://www.rapidshare.com/> ":
2008-08-08 00:04:59 Local7.Debug ch1 web-proxy,debug HTTP/1.1 200 OK
2008-08-08 00:04:59 Local7.Debug ch1 web-proxy,debug P3P: CP=“ALL DSP COR CURa ADMa DEVa TAIa PSAa PSDa IVAa IVDa CONa TELa OUR STP UNI NAV STA PRE”
2008-08-08 00:04:59 Local7.Debug ch1 web-proxy,debug Date: Thu, 07 Aug 2008 22:04:38 GMT
2008-08-08 00:04:59 Local7.Debug ch1 web-proxy,debug Accept-Ranges: bytes
2008-08-08 00:04:59 Local7.Debug ch1 web-proxy,debug Content-Type: text/html; charset=ISO-8859-1
2008-08-08 00:04:59 Local7.Debug ch1 web-proxy,debug Cache-Control: no-cache
2008-08-08 00:04:59 Local7.Debug ch1 web-proxy,debug Content-Length: 8836
Thanks 