diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/config.rs | 6 | ||||
| -rw-r--r-- | src/main.rs | 4 |
2 files changed, 3 insertions, 7 deletions
diff --git a/src/config.rs b/src/config.rs index a65269f..3ce06a2 100644 --- a/src/config.rs +++ b/src/config.rs @@ -90,13 +90,13 @@ impl Config { read_to_string(config_path).context("Failed to read configuration")?; toml::from_str(&config).context("Failed to deserialize configuration")? } else { - info!("Using default configuration"); + eprintln!("Using default configuration"); Self::default() } } None => { - warn!("Could not find the configuration path"); - info!("Using default configuration"); + eprintln!("Could not find the configuration path"); + eprintln!("Using default configuration"); Self::default() } }) diff --git a/src/main.rs b/src/main.rs index d3457b5..b3c67db 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,8 +2,6 @@ #[macro_use] extern crate anyhow; -#[macro_use] -extern crate log; mod bar; mod button_manager; @@ -31,8 +29,6 @@ use state::State; #[tokio::main(flavor = "current_thread")] async fn main() -> anyhow::Result<()> { - env_logger::init(); - let mut signals = Signals::new([SIGUSR1])?; let mut conn = Connection::connect()?; |
