diff options
author | Jeremy Lin <[email protected]> | 2020-07-22 21:50:49 -0700 |
---|---|---|
committer | Jeremy Lin <[email protected]> | 2020-07-22 21:50:49 -0700 |
commit | d348f12a0e7f9a6e4d1193324a0d6446fa943d00 (patch) | |
tree | aaf529beadde07ff21a9d1514a17b5bd58b4508d /.env.template | |
parent | 11845d9f5b40867d39645e80d0eef0ff694b3eee (diff) | |
download | vaultwarden-d348f12a0e7f9a6e4d1193324a0d6446fa943d00.tar.gz vaultwarden-d348f12a0e7f9a6e4d1193324a0d6446fa943d00.zip |
Add config option for log timestamp format
Diffstat (limited to '.env.template')
-rw-r--r-- | .env.template | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.env.template b/.env.template index 8c0a1c11..01ad4355 100644 --- a/.env.template +++ b/.env.template @@ -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 |