mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-07-16 17:21:13 +00:00
Add config option for log timestamp format
This commit is contained in:
parent
11845d9f5b
commit
d348f12a0e
3 changed files with 8 additions and 2 deletions
|
@ -44,6 +44,10 @@
|
|||
## Enable extended logging, which shows timestamps and targets in the logs
|
||||
# EXTENDED_LOGGING=true
|
||||
|
||||
## Timestamp format used in extended logging.
|
||||
## Format specifiers: https://docs.rs/chrono/latest/chrono/format/strftime
|
||||
# LOG_TIMESTAMP_FORMAT="%Y-%m-%d %H:%M:%S"
|
||||
|
||||
## Logging to file
|
||||
## It's recommended to also set 'ROCKET_CLI_COLORS=off'
|
||||
# LOG_FILE=/path/to/log
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue