disable extra content by default on debug log level

This commit is contained in:
Peter Bieringer 2024-06-18 17:43:35 +02:00
parent bbe7088561
commit 51a7136b93
3 changed files with 13 additions and 13 deletions

View file

@ -934,31 +934,31 @@ Default: `True`
Log bad PUT request content (for further diagnostics)
Default: `False'
Default: `False`
##### backtrace_on_debug
Log backtrace on level=debug
Default: `True'
Default: `False`
##### request_header_on_debug
Log request on level=debug
Default: `True'
Default: `False`
##### request_content_on_debug
Log request on level=debug
Default: `True'
Default: `False`
##### response_content_on_debug = True
Log response on level=debug
Default: `True'
Default: `False`
#### headers

8
config
View file

@ -145,16 +145,16 @@
#bad_put_request_content = False
# Log backtrace on level=debug
#backtrace_on_debug = True
#backtrace_on_debug = False
# Log request header on level=debug
#request_header_on_debug = True
#request_header_on_debug = False
# Log request content on level=debug
#request_content_on_debug = True
#request_content_on_debug = False
# Log response content on level=debug
#response_content_on_debug = True
#response_content_on_debug = False
[headers]

View file

@ -273,19 +273,19 @@ DEFAULT_CONFIG_SCHEMA: types.CONFIG_SCHEMA = OrderedDict([
"help": "log bad PUT request content",
"type": bool}),
("backtrace_on_debug", {
"value": "True",
"value": "False",
"help": "log backtrace on level=debug",
"type": bool}),
("request_header_on_debug", {
"value": "True",
"value": "False",
"help": "log request header on level=debug",
"type": bool}),
("request_content_on_debug", {
"value": "True",
"value": "False",
"help": "log request content on level=debug",
"type": bool}),
("response_content_on_debug", {
"value": "True",
"value": "False",
"help": "log response content on level=debug",
"type": bool}),
("mask_passwords", {