1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-07-20 19:18:21 +00:00

Reopen log file on SIGHUP

This commit is contained in:
Tobias Bölz 2023-09-22 17:03:41 +02:00 committed by Mathijs van Veluw
commit 66a7baa67c
3 changed files with 26 additions and 2 deletions

View file

@ -37,11 +37,12 @@ unstable = []
[target."cfg(not(windows))".dependencies]
# Logging
syslog = "6.1.0"
reopen = "1.0.3"
[dependencies]
# Logging
log = "0.4.20"
fern = { version = "0.6.2", features = ["syslog-6"] }
fern = { version = "0.6.2", features = ["syslog-6", "reopen-1"] }
tracing = { version = "0.1.37", features = ["log"] } # Needed to have lettre and webauthn-rs trace logging to work
# A `dotenv` implementation for Rust