commit 53dc0917c57243ba96845b4ba72f4069ee0d21ac
Author: Matt Riedemann <email address hidden>
Date: Mon Nov 13 14:52:09 2017 -0500
Log options at debug when starting API services under wsgi
The ServiceLauncher and ProcessLauncher in oslo.service will,
by default, log config options at DEBUG level at the start
of a service, which is what would happen when starting nova-api
using eventlet.
Running nova-api under wsgi has been supported since Pike, but
the wsgi app code doesn't log the debug options like oslo.service
would, so this adds that back in.
The placement-api wsgi app code would log the options but based on
whether or not debug logging is enabled, which is different from how
it works in oslo.service, so the config option that is checked is
changed in this patch, and a release note is added for that subtle
behavior change.
Reviewed: https:/ /review. openstack. org/519462 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=53dc0917c57 243ba96845b4ba7 2f4069ee0d21ac
Committed: https:/
Submitter: Zuul
Branch: master
commit 53dc0917c57243b a96845b4ba72f40 69ee0d21ac
Author: Matt Riedemann <email address hidden>
Date: Mon Nov 13 14:52:09 2017 -0500
Log options at debug when starting API services under wsgi
The ServiceLauncher and ProcessLauncher in oslo.service will,
by default, log config options at DEBUG level at the start
of a service, which is what would happen when starting nova-api
using eventlet.
Running nova-api under wsgi has been supported since Pike, but
the wsgi app code doesn't log the debug options like oslo.service
would, so this adds that back in.
The placement-api wsgi app code would log the options but based on
whether or not debug logging is enabled, which is different from how
it works in oslo.service, so the config option that is checked is
changed in this patch, and a release note is added for that subtle
behavior change.
Closes-Bug: #1732000
Change-Id: I680fd9761a049c ac619b7793fa5c6 0e6daf4fa47