Koozali.org: home of the SME Server

Remove details from Squid log files

Samer Pharaon

Remove details from Squid log files
« on: December 04, 2003, 06:38:50 AM »
Hi,

In order to clean up the reports and make them easy to read, I want to remove some details from the access.log files. For example, this is a sample of what I receive in the access log files:

Wed Dec  3 15:38:15 2003      0 192.168.0.5 TCP_NEGATIVE_HIT/404 4366 GET http://www.WEBSITE.com/images/Mbacksmall.gif - NONE/- text/html

What is the process to make the log file contain the following information instead, removing all the other confusing details:

Wed Dec  3 15:38:15 2003      0 192.168.0.5 http://www.WEBSITE.com/images/Mbacksmall.gif - NONE/- text/html

Thanks,
Samer