|
|
|
|
|
|
| Author |
Message |
Visolve Squid Development *nix forums addict
Joined: 11 Mar 2005
Posts: 76
|
Posted: Thu Jul 20, 2006 8:53 am Post subject:
Re: Howto NOT log URLs in access.log
|
|
|
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
|
Posted: Mon Jul 17, 2006 10:43 pm Post subject:
Re: Howto NOT log URLs in access.log
|
|
|
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
|
Posted: Mon Jul 17, 2006 8:11 pm Post subject:
Howto NOT log URLs in access.log
|
|
|
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 |
|
 |
|
|
The time now is Fri Nov 21, 2008 11:46 pm | All times are GMT
|
|
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
|
|