Squid Proxy to log user agent, referrer etc
-
Hi all
Been trying to find where to set Squid proxy to log extra fields like http referer , user agent and more. Can't seem to find anything in relation to this, can someone point me in the right direction and the default logs are lacking . -
There is nothing built-in to WebGUI for that AFAIK. You might be able to add the logfile definition declarations in one of the Advanced options boxes, perhaps under Integrations.
https://wiki.squid-cache.org/SquidFaq/SquidLogs#useragent.log
http://www.squid-cache.org/Doc/config/referer_log/
-
thanks a lot. Will go through that documentation and try it out.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.