LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-24-2011, 10:04 PM   #1
amjadask
LQ Newbie
 
Registered: Jan 2011
Posts: 25

Rep: Reputation: 0
access logs in squid proxy server


hello all
i am monitoring access log messages in squid proxy server,
can it possible to get date,time,day in access logs is it possible

Last edited by amjadask; 02-24-2011 at 10:14 PM.
 
Old 02-25-2011, 12:31 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,224
Blog Entries: 1

Rep: Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076
Hi,

You can use the following logformat and access.log:
Code:
logformat squid  %tl %6tr %>a %Ss/%03>Hs %<st %rm %ru %un %Sh/%<A %mt
access_log /path/to/squid/access.log squid
For more details about logformat have a look at this

Regards
 
1 members found this post helpful.
Old 02-25-2011, 04:12 AM   #3
Antony pradeep
LQ Newbie
 
Registered: Oct 2009
Location: bangalore,india
Distribution: backtrack 4R2
Posts: 3

Rep: Reputation: 2
try this==>> emulate_httpd_log on
hope that will help..
 
1 members found this post helpful.
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot access gmail on firefox through SQUID proxy server! pradeepmenon777 Linux - Networking 12 07-12-2010 03:46 AM
allow only two web sites access by squid proxy server singh_chitranjan Linux - Server 1 05-19-2010 09:16 AM
ftp server access through squid proxy not working hitesh_linux Linux - Networking 5 05-13-2010 03:27 AM
Squid Proxy server - FTP access problem ALPHATWIN Linux - Server 1 04-14-2010 11:19 AM
how to access internet on linux clients By our Squid Proxy server farrukhndm Linux - Server 2 03-07-2009 06:22 AM

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

All times are GMT -5. The time now is 09:58 PM.

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