Skip to content

Commit

Permalink
fix: use absolute path for tracing log
Browse files Browse the repository at this point in the history
  • Loading branch information
dj95 committed May 15, 2024
1 parent d124427 commit 25e3a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/zjstatus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fn init_tracing() {
use std::fs::File;
use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt};

let file = File::create(".zjstatus.log");
let file = File::create("/host/.zjstatus.log");
let file = match file {
Ok(file) => file,
Err(error) => panic!("Error: {:?}", error),
Expand Down

0 comments on commit 25e3a56

Please sign in to comment.