Search squid archive

logformat, User-Agent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

this logformat definition in squid.conf:

logformat combined %>a ... "%{User-Agent}>h"

allow to display the User-Agent string in the squid log:

127.0.0.1 ... "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3)
Gecko/20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-1)"

But this string is rather long and I only need a little part of it
(productSub (20070310) for instance). Is there some option that allow to
only display a given part of the User-Agent string in the log ?

Thanks,

Loris


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux