LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-16-2014, 03:52 AM   #16
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,955

Rep: Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341

Quote:
Originally Posted by danialnaeem View Post
Sir, I am using squid 3.1 and this line is not showing in my squid.conf file. when i add this line in squid.conf file and restart service nothing happenes. ???

access_log /var/log/squid/access.log common
You should make sure that you have the following line in squid.conf
Code:
logformat common %>a %[ui %[un [%tl] "%rm %ru HTTP/%rv" %>Hs %<st %Ss:%Sh
Anyway, since you're running squid-3.1, you can also use the "emulate_httpd_log" option, like:
Code:
emulate_httpd_log on 
access_log /var/log/squid/access.log
 
  


Reply

Tags
squid


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re-Organize Squid access log file.... harshaabba Linux - Software 1 10-07-2011 05:41 AM
Squid access log file agar_000 Linux - Newbie 1 09-01-2011 06:10 AM
Deleted access.log file from squid evocage Red Hat 3 08-24-2011 04:18 AM
In Apache server, How to change log file location and log format for access log fil? since1993 Linux - Server 1 08-19-2009 05:14 PM
Squid logging access.log file revinking Linux - Newbie 1 07-28-2008 06:02 AM


All times are GMT -5. The time now is 08:31 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration