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
parent
b96164ce11
commit
8c88e58655
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue