Merge "Update dnsmasq logging"

This commit is contained in:
Zuul 2021-12-09 14:31:39 +00:00 committed by Gerrit Code Review
commit db789efce0
4 changed files with 19 additions and 0 deletions

View File

@ -7,6 +7,7 @@
"/var/log/kolla/monasca/grafana.log",
"/var/log/kolla/monasca/monasca-api.log",
"/var/log/kolla/neutron/dnsmasq.log",
"/var/log/kolla/ironic/dnsmasq.log",
"/var/log/kolla/*/*-access.log",
"/var/log/kolla/*/*-error.log",
"/var/log/kolla/*/*_access.log",

View File

@ -31,6 +31,12 @@ dhcp-option=tag:efi,tag:!ipxe,option:bootfile-name,ipxe.efi
dhcp-option=option:bootfile-name,{{ ironic_dnsmasq_boot_file }}
{% endif %}{# ipv6/ipv4 #}
log-async
log-facility=/var/log/kolla/ironic/dnsmasq.log
{% if ironic_logging_debug | bool %}
log-dhcp
{% endif %}
{% if ironic_inspector_pxe_filter == 'dnsmasq' %}
dhcp-hostsdir=/etc/dnsmasq/dhcp-hostsdir
{% endif %}

View File

@ -1 +1,6 @@
log-async
log-facility=/var/log/kolla/neutron/dnsmasq.log
{% if neutron_logging_debug | bool %}
log-dhcp
log-queries
{% endif %}

View File

@ -0,0 +1,7 @@
---
other:
- |
The container ``ironic-dnsmasq`` now creates the ``dnsmasq.log`` just as
the container ``neutron-dhcp-agent``. For both log files verbosity can be
increased globally via ``openstack_logging_debug`` or per service via
``ironic_logging_debug`` or ``neutron_logging_debug`` variables.