Merge "deprecate `wsgi_log_format` config variable"

This commit is contained in:
Jenkins
2017-07-27 02:07:01 +00:00
committed by Gerrit Code Review
2 changed files with 17 additions and 1 deletions

View File

@@ -45,12 +45,22 @@ Possible values:
default='%(client_ip)s "%(request_line)s" status: %(status_code)s'
' len: %(body_length)s time: %(wall_seconds).7f',
deprecated_group='DEFAULT',
deprecated_for_removal=True,
deprecated_since='16.0.0',
deprecated_reason="""
This option only works when running nova-api under eventlet, and
encodes very eventlet specific pieces of information. Starting in Pike
the preferred model for running nova-api is under uwsgi or apache
mod_wsgi.
""",
help="""
It represents a python format string that is used as the template to generate
log lines. The following values can be formatted into it: client_ip,
date_time, request_line, status_code, body_length, wall_seconds.
This option is used for building custom request loglines.
This option is used for building custom request loglines when running
nova-api under eventlet. If used under uwsgi or apache, this option
has no effect.
Possible values:

View File

@@ -0,0 +1,6 @@
---
deprecations:
- |
Configuration option ``wsgi_log_format`` is deprecated. This only
applies when running nova-api under eventlet, which is no longer
the preferred deployment mode.