From d31133956dd28c8bc87eea80edb88a4181c98796 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 28 Feb 2022 14:02:58 -0700 Subject: [PATCH] Remove debug: logging from acpid, logd now handles that --- acpid/src/main.rs | 6 ------ 1 file changed, 6 deletions(-) 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(