1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-07 18:30:54 +00:00

add options for conditional debug log of request header+content / response content

This commit is contained in:
Peter Bieringer 2024-06-11 13:23:03 +02:00
parent addf5a25c8
commit 1acfa480fa
3 changed files with 39 additions and 0 deletions

View file

@ -260,6 +260,18 @@ DEFAULT_CONFIG_SCHEMA: types.CONFIG_SCHEMA = OrderedDict([
"value": "True",
"help": "log backtrace on level=debug",
"type": bool}),
("request_header_on_debug", {
"value": "True",
"help": "log request header on level=debug",
"type": bool}),
("request_content_on_debug", {
"value": "True",
"help": "log request content on level=debug",
"type": bool}),
("response_content_on_debug", {
"value": "True",
"help": "log response content on level=debug",
"type": bool}),
("mask_passwords", {
"value": "True",
"help": "mask passwords in logs",