mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
proxy, Squid: log name now starts with a module name, closes https://github.com/opnsense/core/issues/1815
This commit is contained in:
parent
30fde1ef05
commit
49bf501062
@ -334,9 +334,9 @@ acl accesslog_ignore src {{ OPNsense.proxy.general.logging.ignoreLogACL.replace(
|
||||
access_log syslog:local4.info {% if OPNsense.proxy.general.logging.ignoreLogACL|default('') %}!accesslog_ignore {% endif %}
|
||||
{% elif OPNsense.proxy.general.logging.target|default('') == 'file_extendend' %}
|
||||
logformat opnsense %>a %[ui %>eui %[un [%tl] "%rm %ru HTTP/%rv" %>Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh
|
||||
access_log /var/log/squid/access.log opnsense {% if OPNsense.proxy.general.logging.ignoreLogACL|default('') %}!accesslog_ignore {% endif %}
|
||||
access_log stdio:/var/log/squid/access.log opnsense {% if OPNsense.proxy.general.logging.ignoreLogACL|default('') %}!accesslog_ignore {% endif %}
|
||||
{% else %}
|
||||
access_log /var/log/squid/access.log squid {% if OPNsense.proxy.general.logging.ignoreLogACL|default('') %}!accesslog_ignore {% endif %}
|
||||
access_log stdio:/var/log/squid/access.log squid {% if OPNsense.proxy.general.logging.ignoreLogACL|default('') %}!accesslog_ignore {% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
@ -346,7 +346,7 @@ access_log /var/log/squid/access.log squid {% if OPNsense.proxy.general.logging.
|
||||
# Disable cache store log
|
||||
cache_store_log none
|
||||
{% else %}
|
||||
cache_store_log /var/log/squid/store.log
|
||||
cache_store_log stdio:/var/log/squid/store.log
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if helpers.exists('OPNsense.proxy.general.alternateDNSservers' ) %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user