aboutsummaryrefslogtreecommitdiff
path: root/.env.template
diff options
context:
space:
mode:
authorJeremy Lin <[email protected]>2020-07-22 21:50:49 -0700
committerJeremy Lin <[email protected]>2020-07-22 21:50:49 -0700
commitd348f12a0e7f9a6e4d1193324a0d6446fa943d00 (patch)
treeaaf529beadde07ff21a9d1514a17b5bd58b4508d /.env.template
parent11845d9f5b40867d39645e80d0eef0ff694b3eee (diff)
downloadvaultwarden-d348f12a0e7f9a6e4d1193324a0d6446fa943d00.tar.gz
vaultwarden-d348f12a0e7f9a6e4d1193324a0d6446fa943d00.zip
Add config option for log timestamp format
Diffstat (limited to '.env.template')
-rw-r--r--.env.template4
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