add support for conditional logging of backtrace_on_debug

This commit is contained in:
Peter Bieringer
2024-06-09 13:42:08 +02:00
parent ac14b01dda
commit ad596002f3
6 changed files with 25 additions and 6 deletions

View File

@@ -252,6 +252,10 @@ DEFAULT_CONFIG_SCHEMA: types.CONFIG_SCHEMA = OrderedDict([
"value": "False",
"help": "log bad PUT request content",
"type": bool}),
("backtrace_on_debug", {
"value": "True",
"help": "log backtrace on level=debug",
"type": bool}),
("mask_passwords", {
"value": "True",
"help": "mask passwords in logs",