Hmm, this works fine for me... logformat custom ... "%{User-Agent}>h" %>h %>a I've tested on an i686 and Sparc based servers and this works fine. Cheers tookers Mario Remy Almeida wrote: > > Hi, > > I wan to log all type of headers. > > I have a similar rule but on i386 system same squid version which works > fine > > //Remy > > tookers wrote: >> Hi there, >> >> What particular headers are you trying to log? >> e.g. "Via:" "User-Agent:" etc >> >> Thanks, >> tookers >> >> >> Mario Remy Almeida wrote: >> >>> Hi All, >>> >>> Squid Cache: Version 2.7.STABLE6 >>> >>> logformat headers %ts.%03tu %tg %>a %rp [ %>h ] %rm [ %<h ] >>> access_log /var/log/squid/headers.log headers >>> >>> but in the headers.log file I get >>> >>> 1255582968.512 15/Oct/2009:05:02:48 +0000 10.200.2.174 /xbe/css/BG1.jpg >>> [ - ] GET [ - ] >>> >>> and no headers are logged. >>> >>> any reason why? >>> >>> //Remy >>> >>> ------------------------------------------------------------------------------ >>> Disclaimer and Confidentiality >>> >>> >>> This material has been checked for computer viruses and although none >>> has >>> been found, we cannot guarantee that it is completely free from such >>> problems >>> and do not accept any liability for loss or damage which may be caused. >>> Please therefore check any attachments for viruses before using them on >>> your >>> own equipment. If you do find a computer virus please inform us >>> immediately >>> so that we may take appropriate action. This communication is intended >>> solely >>> for the addressee and is confidential. If you are not the intended >>> recipient, >>> any disclosure, copying, distribution or any action taken or omitted to >>> be >>> taken in reliance on it, is prohibited and may be unlawful. The views >>> expressed in this message are those of the individual sender, and may >>> not >>> necessarily be that of ISA. >>> >>> >>> >> >> > > ------------------------------------------------------------------------------ > Disclaimer and Confidentiality > > > This material has been checked for computer viruses and although none has > been found, we cannot guarantee that it is completely free from such > problems > and do not accept any liability for loss or damage which may be caused. > Please therefore check any attachments for viruses before using them on > your > own equipment. If you do find a computer virus please inform us > immediately > so that we may take appropriate action. This communication is intended > solely > for the addressee and is confidential. If you are not the intended > recipient, > any disclosure, copying, distribution or any action taken or omitted to > be > taken in reliance on it, is prohibited and may be unlawful. The views > expressed in this message are those of the individual sender, and may not > necessarily be that of ISA. > > -- View this message in context: http://www.nabble.com/how-to-log-headers-tp25903111p25906726.html Sent from the Squid - Users mailing list archive at Nabble.com.