r/squid: Send cache log to syslog

The Squid "cache log" is where it writes general debug and error
messages.  It is distinct from the "access log," which is where it
writes the status of every proxy request.  We already had the latter
configured to go to syslog by default (so it would be captured in the
journal), but missed the former.
frigate-exporter
Dustin 2024-02-26 08:37:49 -06:00
parent b96164ce11
commit 8c88e58655
2 changed files with 2 additions and 0 deletions

View File

@ -3,3 +3,4 @@ squid_cache_replacement_policy: heap LFUDA
# squid_cache_dir: # squid_cache_dir:
# - aufs /var/cache/squid 51200 16 256 # - aufs /var/cache/squid 51200 16 256
squid_access_log: syslog:daemon.info squid_access_log: syslog:daemon.info
squid_cache_log: syslog:daemon.info

View File

@ -1,3 +1,4 @@
cache_log {{ squid_cache_log }}
{% if squid_acl is not defined %} {% if squid_acl is not defined %}
# #
# Recommended minimum configuration: # Recommended minimum configuration: