Re: [squid-users] "user-agent" header in access.log

From: Nicolás Ruiz <nicolas@dont-contact.us>
Date: Sat, 17 Mar 2007 17:43:12 -0400

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alejandro wrote:
> Dear all, I need to see the user-agent header in the access.log file
> from Squid in order to apply an acl browser to permiot only Mozilla
> browsers going through my proxy. Now I can see any user-agent header in
> my access.log file.
>
> How can I do to see the user-agent header in the Squid's access.log file ???

look at the logformat directive in squid.conf. You'd use something like
"%{User-Agent}>h"

- --
A: Because it destroys the flow of conversation.
Q: Why is top posting dumb?
- --
Juan Nicolás Ruiz | Corporación Parque Tecnológico de Mérida
                     | Centro de Cálculo Cientifico ULA
nicolas@ula.ve | Avenida 4, Edif. Gral Masini, Ofic. B-32
+58-(0)274-252-4192 | Mérida - Edo. Mérida. Venezuela
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF/GDwmjsZS9ZBxv8RAspmAJ0X0PuJGtzJ8M/xhUK380Vka2jQ9ACeIfCG
qhRZL6ZrEwDet8O2o7EuLQw=
=ZNhX
-----END PGP SIGNATURE-----
Received on Sat Mar 17 2007 - 15:45:37 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Mar 31 2007 - 13:00:02 MDT