FreeBSD: allow to disable query log

This commit is contained in:
Alexander Weidinger 2017-01-12 14:56:53 +01:00
parent fdf20d5632
commit d9b37377a4

View file

@ -86,6 +86,7 @@ match-clients {
}; };
{%- endfor %} {%- endfor %}
{% if salt['pillar.get']("bind:use_querylog", False) %}
logging { logging {
channel "querylog" { channel "querylog" {
file "{{ map.log_dir }}/query.log"; file "{{ map.log_dir }}/query.log";
@ -93,6 +94,7 @@ logging {
}; };
category queries { querylog; }; category queries { querylog; };
}; };
{% endif %}
{%- for name, data in salt['pillar.get']('bind:configured_acls', {}).items() %} {%- for name, data in salt['pillar.get']('bind:configured_acls', {}).items() %}
acl {{ name }} { acl {{ name }} {