remove option --debug and update documents

This commit is contained in:
Menghan 2014-10-14 23:01:45 +08:00 committed by Menghan Zheng
parent 9966db109e
commit 51bd1b12a1
3 changed files with 8 additions and 35 deletions

View File

@ -244,17 +244,6 @@ on the allowed size of an HTTP request header field.
Debugging
---------
debug
~~~~~
* ``--debug``
* ``False``
Turn on debugging in the server.
**DEPRECATED**: This no functionality was removed after v18.0.
This option is now a no-op.
reload
~~~~~~
@ -959,3 +948,11 @@ statsd_host
host:port of the statsd server to log to
statsd_prefix
~~~~~~~~~~~~~
* ``--statsd-prefix STATSD_PREFIX``
* ````
prefix to use when emitting statsd metrics (a trailing . is added, if not provided)

View File

@ -75,14 +75,6 @@ worker_connections = 1000
timeout = 30
keepalive = 2
#
# Debugging
#
# debug - Turn on debugging in the server. This limits the number of
# worker processes to 1 and changes some error handling that's
# sent to clients.
#
# True or False
#
# spew - Install a trace function that spews every line of Python
# that is executed when running the server. This is the
@ -91,7 +83,6 @@ keepalive = 2
# True or False
#
debug = False
spew = False
#

View File

@ -755,21 +755,6 @@ class LimitRequestFieldSize(Setting):
"""
class Debug(Setting):
name = "debug"
section = "Debugging"
cli = ["--debug"]
validator = validate_bool
action = "store_true"
default = False
desc = """\
Turn on debugging in the server.
**DEPRECATED**: This no functionality was removed after v18.0.
This option is now a no-op.
"""
class Reload(Setting):
name = "reload"
section = 'Debugging'