diff --git a/etc/ironic/ironic.conf.sample b/etc/ironic/ironic.conf.sample index 8b524636bf..405a66003f 100644 --- a/etc/ironic/ironic.conf.sample +++ b/etc/ironic/ironic.conf.sample @@ -463,7 +463,7 @@ # List of package logging levels in logger=LEVEL pairs. This # option is ignored if log_config_append is set. (list value) -#default_log_levels = amqp=WARNING,amqplib=WARNING,qpid.messaging=INFO,oslo_messaging=INFO,sqlalchemy=WARNING,stevedore=INFO,eventlet.wsgi.server=INFO,iso8601=WARNING,paramiko=WARNING,requests=WARNING,neutronclient=WARNING,glanceclient=WARNING,urllib3.connectionpool=WARNING,keystonemiddleware.auth_token=INFO,keystoneauth.session=INFO +#default_log_levels = amqp=WARNING,amqplib=WARNING,qpid.messaging=INFO,oslo_messaging=INFO,oslo.messaging=INFO,sqlalchemy=WARNING,stevedore=INFO,eventlet.wsgi.server=INFO,iso8601=WARNING,paramiko=WARNING,requests=WARNING,neutronclient=WARNING,glanceclient=WARNING,urllib3.connectionpool=WARNING,keystonemiddleware.auth_token=INFO,keystoneauth.session=INFO # Enables or disables publication of error events. (boolean # value) diff --git a/ironic/conf/opts.py b/ironic/conf/opts.py index c670ccb4ba..bf522c17b6 100644 --- a/ironic/conf/opts.py +++ b/ironic/conf/opts.py @@ -88,7 +88,10 @@ def update_opt_defaults(): 'amqp=WARNING', 'amqplib=WARNING', 'qpid.messaging=INFO', + # TODO(therve): when bug #1685148 is fixed in oslo.messaging, we + # should be able to remove one of those 2 lines. 'oslo_messaging=INFO', + 'oslo.messaging=INFO', 'sqlalchemy=WARNING', 'stevedore=INFO', 'eventlet.wsgi.server=INFO', diff --git a/releasenotes/notes/messaging-log-level-5f870ea69db53d26.yaml b/releasenotes/notes/messaging-log-level-5f870ea69db53d26.yaml new file mode 100644 index 0000000000..60bcde7eff --- /dev/null +++ b/releasenotes/notes/messaging-log-level-5f870ea69db53d26.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - Fixes an issue where oslo.messaging DEBUG logs were being logged when, by + default, they shouldn't have been.