Squid : Multiple access log files (ACL Wise)
Hi All,
I am looking for having multiple access log files that are generated automatically according to the http_access rule they match. eg. I want to have /var/log/squid/email_access.log file which contains every log that matched the following rule. http_access allow emailurl emailusers http_access deny emailurl and rest of the logs should go to default log file. i.e. /var/log/squid/access.log for this I configured the squid.conf file like this : access_log /var/log/squid/email_access.log squid emailurl access_log /var/log/squid/access.log squid It gives me following error : 2007/09/24 10:57:47| ACL name 'emailurl' not defined! FATAL: Bungled squid.conf line 1104: access_log access_log /var/log/squid/email_access.log squid emailurl Squid Cache (Version 2.6.STABLE13): Terminated abnormally. But the acl emailurl is already declared in the squid.conf file. What could be the reason. Please help! |
All times are GMT -5. The time now is 11:25 AM. |