diff --git a/acpid/src/main.rs b/acpid/src/main.rs index 6ae7d32035..ebc105dcc6 100644 --- a/acpid/src/main.rs +++ b/acpid/src/main.rs @@ -44,12 +44,6 @@ fn setup_logging() -> Option<&'static RedoxLogger> { .build() ); - #[cfg(target_os = "redox")] - match File::open("debug:") { - Ok(d) => logger = logger.with_output(OutputBuilder::with_endpoint(d).flush_on_newline(true).with_ansi_escape_codes().with_filter(log::LevelFilter::Info).build()), - Err(error) => eprintln!("Failed to open `debug:` scheme: {}", error), - } - #[cfg(target_os = "redox")] match OutputBuilder::in_redox_logging_scheme("misc", "acpi", "acpid.log") { Ok(b) => logger = logger.with_output(