feat(logging): add a journald feature to log to systemd

This commit is contained in:
Harsh Shandilya 2022-03-10 14:20:20 +05:30
parent 28fa08a67b
commit 139e833d04
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
3 changed files with 26 additions and 0 deletions

12
Cargo.lock generated
View file

@ -93,6 +93,7 @@ dependencies = [
"serde_derive",
"toml",
"tracing",
"tracing-journald",
"tracing-subscriber",
]
@ -510,6 +511,17 @@ dependencies = [
"valuable",
]
[[package]]
name = "tracing-journald"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "36a63bcca9cab23195673d7c3c7db8aff5fc062b82cd1e51c396d9dc26968c3c"
dependencies = [
"libc",
"tracing-core",
"tracing-subscriber",
]
[[package]]
name = "tracing-log"
version = "0.1.2"