nova/releasenotes/notes/request_log-e7680b3276910743.yaml
Sean Dague aa45a6f3ab request_log addition for running under uwsgi
If someone chooses to run under uwsgi/apache instead of eventlet, the
basic logging of requests goes away (as that was an eventlet.wsgi
function). This is a critical piece of information for understanding
how services are working, and we need to retain it under uwsgi/apache.

This creates a new request_log middleware, inspired by the one in
placement, to provide that functionality. This includes all the same
information as before: http method, uri, status, content length, time
for the request. It also includes the microversion the request was
processed as, "-" if no microversion.

The middleware does not emit anything if it detects that it's running
under eventlet, to prevent duplicate log messages.

Release notes provided as this will be a manual transition for folks
as it's an api-paste.ini change.

Change-Id: I3a597b06d3501c765e2d7805c6c1375d6f4e40db
2017-07-24 14:23:38 -04:00

12 lines
524 B
YAML

---
upgrade:
- |
A new request_log middleware is created to log REST HTTP requests
even if Nova API is not running under eventlet.wsgi. Because this
is an api-paste.ini change, you will need to manually update your
api-paste.ini with the one from the release to get this
functionality. The new request logs will only emit when it is
detected that nova-api is not running under eventlet, and will
include the microversion of the request in addition to all the
previously logged information.