niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Squid
Howto NOT log URLs in access.log
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
Visolve Squid Development
*nix forums addict


Joined: 11 Mar 2005
Posts: 76

PostPosted: Thu Jul 20, 2006 8:53 am    Post subject: Re: Howto NOT log URLs in access.log Reply with quote

Michael Ellis wrote:

Quote:
Hi,

I was wondering if anyone knows of a way to configure squid so that it does
not write the URL to access.log. All I want to know is who was browsing the
web from which computer and when (date, client ip, and authname). This is to
comply with personal privacy and information policies and laws.

Hello Mike Ellis,


In squid-2.6, you can customize the access log format by using logformat directive in squid.conf file.

logformat squid %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt

%ru is Request URL.

If remove the format code (%ru) from the logformat direcive, the requested URL will not write into access.log.

--
Thanks,
Visolve Squid Team,
http://squid.visolve.com
Back to top
Henrik Nordstrom
*nix forums Guru


Joined: 01 Feb 2005
Posts: 2377

PostPosted: Mon Jul 17, 2006 10:43 pm    Post subject: Re: Howto NOT log URLs in access.log Reply with quote

mån 2006-07-17 klockan 15:11 -0500 skrev Michael Ellis:
Quote:
Hi,

I was wondering if anyone knows of a way to configure squid so that it does
not write the URL to access.log. All I want to know is who was browsing the
web from which computer and when (date, client ip, and authname). This is to
comply with personal privacy and information policies and laws.

See the custom_log_format directive and the access_log directive. (2.6)

Regards
Henrik
Back to top
Michael Ellis
*nix forums beginner


Joined: 17 Jul 2006
Posts: 1

PostPosted: Mon Jul 17, 2006 8:11 pm    Post subject: Howto NOT log URLs in access.log Reply with quote

Hi,

I was wondering if anyone knows of a way to configure squid so that it does
not write the URL to access.log. All I want to know is who was browsing the
web from which computer and when (date, client ip, and authname). This is to
comply with personal privacy and information policies and laws.

I suspect that one could edit the source and recompile, but this is a little
outside my comfort zone. If this is what is required, could someone provide
me with some direction for where to start?

Thanks,

Mike Ellis
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Fri Nov 21, 2008 11:46 pm | All times are GMT
navigation Forum index » Apps » Squid
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts [554] Relay access denied annami Postfix 0 Tue Oct 21, 2008 9:12 am
No new posts [554] Relay access denied annami Postfix 0 Tue Oct 21, 2008 9:11 am
No new posts [554] Relay access denied annami Postfix 0 Tue Oct 21, 2008 9:10 am
No new posts Shortening URLs passing through a squid hierarchy Irvine, Doug - Resources Squid 0 Fri Jul 21, 2006 10:15 am
No new posts access method "gin" does not exist Kevin Murphy PostgreSQL 0 Thu Jul 20, 2006 4:25 pm

Debt Consolidation | Debt Consolidation | Facebook Proxy | Repair Bad Credit | Mortgages
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2429s ][ Queries: 20 (0.1526s) ][ GZIP on - Debug on ]