Skip to content
Snippets Groups Projects
Commit db789efc authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Update dnsmasq logging"

parents 675d4f55 d559e2c3
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
"/var/log/kolla/monasca/grafana.log", "/var/log/kolla/monasca/grafana.log",
"/var/log/kolla/monasca/monasca-api.log", "/var/log/kolla/monasca/monasca-api.log",
"/var/log/kolla/neutron/dnsmasq.log", "/var/log/kolla/neutron/dnsmasq.log",
"/var/log/kolla/ironic/dnsmasq.log",
"/var/log/kolla/*/*-access.log", "/var/log/kolla/*/*-access.log",
"/var/log/kolla/*/*-error.log", "/var/log/kolla/*/*-error.log",
"/var/log/kolla/*/*_access.log", "/var/log/kolla/*/*_access.log",
......
...@@ -31,6 +31,12 @@ dhcp-option=tag:efi,tag:!ipxe,option:bootfile-name,ipxe.efi ...@@ -31,6 +31,12 @@ dhcp-option=tag:efi,tag:!ipxe,option:bootfile-name,ipxe.efi
dhcp-option=option:bootfile-name,{{ ironic_dnsmasq_boot_file }} dhcp-option=option:bootfile-name,{{ ironic_dnsmasq_boot_file }}
{% endif %}{# ipv6/ipv4 #} {% 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' %} {% if ironic_inspector_pxe_filter == 'dnsmasq' %}
dhcp-hostsdir=/etc/dnsmasq/dhcp-hostsdir dhcp-hostsdir=/etc/dnsmasq/dhcp-hostsdir
{% endif %} {% endif %}
log-async
log-facility=/var/log/kolla/neutron/dnsmasq.log log-facility=/var/log/kolla/neutron/dnsmasq.log
{% if neutron_logging_debug | bool %}
log-dhcp
log-queries
{% endif %}
---
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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment