diff --git a/src/main.rs b/src/main.rs index 7816aad..46cd092 100644 --- a/src/main.rs +++ b/src/main.rs @@ -126,7 +126,7 @@ fn daemonize(options: &getopts::Matches) -> Result<()> { } #[cfg(unix)] -fn init_log(log_level: LogLevelFilter, options: &getopts::Matches) -> Result<()> { +fn init_log(log_level: LevelFilter, options: &getopts::Matches) -> Result<()> { if options.opt_present("f") { if let Err(e) = TermLogger::init(log_level, LOG_CONFIG) { bail!("Error starting terminal logger: {}", e);