mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
add trace options
This commit is contained in:
parent
c208ad4374
commit
02471b6c90
3 changed files with 32 additions and 0 deletions
|
@ -1420,6 +1420,24 @@ Available levels: **debug**, **info**, **warning**, **error**, **critical**
|
||||||
|
|
||||||
Default: `warning` _(< 3.2.0)_ `info` _(>= 3.2.0)_
|
Default: `warning` _(< 3.2.0)_ `info` _(>= 3.2.0)_
|
||||||
|
|
||||||
|
##### trace_on_debug
|
||||||
|
|
||||||
|
_(> 3.5.4)_
|
||||||
|
|
||||||
|
Do not filter debug messages starting with 'TRACE'
|
||||||
|
|
||||||
|
Default: `False`
|
||||||
|
|
||||||
|
##### trace_filter
|
||||||
|
|
||||||
|
_(> 3.5.4)_
|
||||||
|
|
||||||
|
Filter debug messages starting with 'TRACE/<TOKEN>'
|
||||||
|
|
||||||
|
Precondition: `trace_on_debug = True`
|
||||||
|
|
||||||
|
Default: (empty)
|
||||||
|
|
||||||
##### mask_passwords
|
##### mask_passwords
|
||||||
|
|
||||||
Don't include passwords in logs.
|
Don't include passwords in logs.
|
||||||
|
|
6
config
6
config
|
@ -272,6 +272,12 @@
|
||||||
# Value: debug | info | warning | error | critical
|
# Value: debug | info | warning | error | critical
|
||||||
#level = info
|
#level = info
|
||||||
|
|
||||||
|
# do not filter debug messages starting with 'TRACE'
|
||||||
|
#trace_on_debug = False
|
||||||
|
|
||||||
|
# filter debug messages starting with 'TRACE/<TOKEN>'
|
||||||
|
#trace_filter = ""
|
||||||
|
|
||||||
# Don't include passwords in logs
|
# Don't include passwords in logs
|
||||||
#mask_passwords = True
|
#mask_passwords = True
|
||||||
|
|
||||||
|
|
|
@ -509,6 +509,14 @@ This is an automated message. Please do not reply.""",
|
||||||
"value": "info",
|
"value": "info",
|
||||||
"help": "threshold for the logger",
|
"help": "threshold for the logger",
|
||||||
"type": logging_level}),
|
"type": logging_level}),
|
||||||
|
("trace_on_debug", {
|
||||||
|
"value": "False",
|
||||||
|
"help": "do not filter debug messages starting with 'TRACE'",
|
||||||
|
"type": bool}),
|
||||||
|
("trace_filter", {
|
||||||
|
"value": "",
|
||||||
|
"help": "filter debug messages starting with 'TRACE/<TOKEN>'",
|
||||||
|
"type": str}),
|
||||||
("bad_put_request_content", {
|
("bad_put_request_content", {
|
||||||
"value": "False",
|
"value": "False",
|
||||||
"help": "log bad PUT request content",
|
"help": "log bad PUT request content",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue