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.
This commit is contained in:
@@ -3,3 +3,4 @@ squid_cache_replacement_policy: heap LFUDA
|
||||
# squid_cache_dir:
|
||||
# - aufs /var/cache/squid 51200 16 256
|
||||
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 %}
|
||||
#
|
||||
# Recommended minimum configuration:
|
||||
|
||||
Reference in New Issue
Block a user