Fix network device logging paths
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user