nova/releasenotes/notes/bug-1732000-log-options-6db2cc8c747145ca.yaml
Matt Riedemann 53dc0917c5 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: I680fd9761a049cac619b7793fa5c60e6daf4fa47
2018-01-31 15:45:27 +00:00

8 lines
267 B
YAML

---
fixes:
- |
The ``[DEFAULT]/log_options`` configuration option can be used to log
configuration options at DEBUG level when the `placement-api` and/or
`nova-api` services are started under WSGI. The default behavior is to
log options on startup.