feat: add log to journald feature

The systemd-journald is used in most major Linux distros that use systemd.
This enables logging using the systemd-journald native protocol, instead
of just writing to stderr.
This commit is contained in:
Renjaya Raga Zenta
2024-11-11 14:58:09 +07:00
parent b601b3e46d
commit 8843aa92fa
6 changed files with 58 additions and 0 deletions
+1
View File
@@ -83,6 +83,7 @@ pretty_env_logger = "0.5"
structopt = { version = "0.3", default-features = false }
syslog-tracing = "0.3"
tracing = "0.1"
tracing-journald = "0.3.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
heed = { version = "0.11", default-features = false, features = ["lmdb"] }