🔊 ✨ Log to journald
This commit is contained in:
parent
07c811ba97
commit
7be35d6153
3 changed files with 18 additions and 4 deletions
|
|
@ -19,6 +19,7 @@ async fn main() -> Result<()> {
|
|||
color_eyre::install().wrap_err("failed to install color_eyre error handler")?;
|
||||
|
||||
tracing_subscriber::registry()
|
||||
.with(tracing_journald::layer().wrap_err("failed to connect to journald")?)
|
||||
.with(fmt::layer())
|
||||
.with(
|
||||
EnvFilter::builder()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue