Fix network device logging paths

This commit is contained in:
Jeremy Soller
2024-04-12 10:37:42 -06:00
parent c99cd3a843
commit e070abc7cb
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ fn setup_logging() -> Option<&'static RedoxLogger> {
);
#[cfg(target_os = "redox")]
match OutputBuilder::in_redox_logging_scheme("usb", "host", "rtl8139.log") {
match OutputBuilder::in_redox_logging_scheme("net", "pcie", "rtl8139.log") {
Ok(b) => logger = logger.with_output(
// TODO: Add a configuration file for this
b.with_filter(log::LevelFilter::Info)
@@ -45,7 +45,7 @@ fn setup_logging() -> Option<&'static RedoxLogger> {
}
#[cfg(target_os = "redox")]
match OutputBuilder::in_redox_logging_scheme("usb", "host", "rtl8139.ansi.log") {
match OutputBuilder::in_redox_logging_scheme("net", "pcie", "rtl8139.ansi.log") {
Ok(b) => logger = logger.with_output(
b.with_filter(log::LevelFilter::Info)
.with_ansi_escape_codes()
+2 -2
View File
@@ -29,7 +29,7 @@ fn setup_logging() -> Option<&'static RedoxLogger> {
);
#[cfg(target_os = "redox")]
match OutputBuilder::in_redox_logging_scheme("usb", "host", "rtl8168.log") {
match OutputBuilder::in_redox_logging_scheme("net", "pcie", "rtl8168.log") {
Ok(b) => logger = logger.with_output(
// TODO: Add a configuration file for this
b.with_filter(log::LevelFilter::Info)
@@ -40,7 +40,7 @@ fn setup_logging() -> Option<&'static RedoxLogger> {
}
#[cfg(target_os = "redox")]
match OutputBuilder::in_redox_logging_scheme("usb", "host", "rtl8168.ansi.log") {
match OutputBuilder::in_redox_logging_scheme("net", "pcie", "rtl8168.ansi.log") {
Ok(b) => logger = logger.with_output(
b.with_filter(log::LevelFilter::Info)
.with_ansi_escape_codes()