Remove debug: logging from acpid, logd now handles that

This commit is contained in:
Jeremy Soller
2022-02-28 14:02:58 -07:00
parent 88fc91dfb7
commit d31133956d
-6
View File
@@ -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(