Allow to override log level for specific target (#4305)

This commit is contained in:
Timshel
2024-07-24 16:49:03 +02:00
committed by GitHub
parent ecfebaf3c7
commit de66e56b6c
3 changed files with 94 additions and 50 deletions

View File

@@ -362,8 +362,9 @@
## Log level
## Change the verbosity of the log output
## Valid values are "trace", "debug", "info", "warn", "error" and "off"
## Setting it to "trace" or "debug" would also show logs for mounted
## routes and static file, websocket and alive requests
## Setting it to "trace" or "debug" would also show logs for mounted routes and static file, websocket and alive requests
## For a specific module append a comma separated `path::to::module=log_level`
## For example, to only see debug logs for icons use: LOG_LEVEL="info,vaultwarden::api::icons=debug"
# LOG_LEVEL=info
## Token for the admin interface, preferably an Argon2 PCH string