Re: [squid-users] Howto NOT log URLs in access.log

2006-07-28 Thread [EMAIL PROTECTED]

Visolve Squid wrote:


Michael Ellis wrote:


Hi,

I was wondering if anyone knows of a way to configure squid so that 
it does

not write the URL to access.log.


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.


Ola, i've read thist post just now and i'm interested about that, 'cause 
i've similar situation. Can you explain what does mean the other codes 
(%ts, %03tu. .), i'm looking for a simple log whith:

Date, Lan-ip, username (i use centralised  authentication with ncsa_auth).
Better if i could stamp only the first and the last tcp request, so to 
have only two string for each user, when he connected himself and when 
he disconnected.
Wat you've proposed is possible only in 2.6 version of squid?I use 2.5 
at this time...
I'm real in trouble with italian autorithies, that don't seem to 
understand the problem, and change request every time.

Thanks
Davide


Re: [squid-users] Howto NOT log URLs in access.log

2006-07-20 Thread Visolve Squid

Michael Ellis wrote:


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


[squid-users] Howto NOT log URLs in access.log

2006-07-17 Thread Michael Ellis
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




Re: [squid-users] Howto NOT log URLs in access.log

2006-07-17 Thread Henrik Nordstrom
mån 2006-07-17 klockan 15:11 -0500 skrev Michael Ellis:
 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


signature.asc
Description: Detta är en digitalt signerad	meddelandedel