Skip to content

Commit

Permalink
πŸ”Š Use the "tracing" crate for logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jokeyrhyme committed Dec 9, 2024
1 parent a7af99b commit 2b9ab6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bin/busd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async fn main() -> Result<()> {
} else {
PathBuf::from("/usr/share/dbus-1/session.conf")
};
eprintln!("reading configuration file {} ...", config_path.display());
info!("reading configuration file {} ...", config_path.display());
let config = Config::read_file(&config_path)?;

let address = if let Some(address) = args.address {
Expand All @@ -86,7 +86,7 @@ async fn main() -> Result<()> {
}

if args.print_address {
println!("{}", bus.address());
info!("{}", bus.address());
}

// FIXME: How to handle this gracefully on Windows?
Expand Down

0 comments on commit 2b9ab6e

Please sign in to comment.