Re: [squid-users] Custom log format and client source port

2006-10-13 Thread Visolve Squid

Michele de Varda wrote:

Hello,
I have installed squid 2.5 stable 14 with the patch "Squid custom  log 
format". I need to log source client port  for distinguishing client 
connection behind NAT/PAT networks. In the patch sintax the source 
client port is defined with "%>p" but this function seems to not be  
yet implemented. Is it  possible to know if  anyone has implemented 
this feature?

Hello Varda,

You can customize the logformat easily in squid-2.6.

#logformat squid  %ts.%03tu %6tr %>a %Ss/%03Hs %#logformat squidmime  %ts.%03tu %6tr %>a %Ss/%03Hs %%Sh/%h] [%
#logformat common %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %#logformat combined %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %"%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh


Thanks,
Visolve Squid Team.
www.visolve.com/squid/



Re: [squid-users] Custom log format and client source port

2006-10-05 Thread Henrik Nordstrom
tor 2006-10-05 klockan 09:21 +0200 skrev Michele de Varda:

> I have installed squid 2.5 stable 14 with the patch "Squid custom  log 
> format". I need to log source client port  for distinguishing client 
> connection behind NAT/PAT networks. In the patch syntax the source 
> client port is defined with "%>p" but this function seems to not be  yet 
> implemented. Is it  possible to know if  anyone has implemented this 
> feature?

As far as I know it has not been implemented yet.

Note: The custom log format is supported by default in Squid-2.6.

Regards
Henrik


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


[squid-users] Custom log format and client source port

2006-10-05 Thread Michele de Varda

Hello,
I have installed squid 2.5 stable 14 with the patch "Squid custom  log 
format". I need to log source client port  for distinguishing client 
connection behind NAT/PAT networks. In the patch sintax the source 
client port is defined with "%>p" but this function seems to not be  yet 
implemented. Is it  possible to know if  anyone has implemented this 
feature?


Thank you very much,

Michele de Varda
Università statale di Milano