LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-24-2007, 12:43 AM   #1
suhas!
Member
 
Registered: Mar 2007
Posts: 100

Rep: Reputation: 17
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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
convert LAN IP address to Host Name when I give cmd tail -f /var/log/squid/access.log rs15 Linux - Networking 6 01-22-2012 01:45 AM
website access log - through Squid tsaravan Linux - Networking 4 02-05-2006 09:08 AM
Squid ACL - what happens when a user go goes past their allowed access time? Grizzlednewbie Linux - Software 0 07-07-2004 12:37 AM
My squid won't fill /var/log/squid/access.log linuxlah Linux - General 5 10-06-2003 10:51 PM
Squid access.log files davebarnes Linux - Networking 1 10-27-2002 04:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration