Merge branch 'fix-logging' into 'main'
Remove max loglevel feature from netstack and reduce default loglevel See merge request redox-os/base!254
This commit is contained in:
@@ -297,7 +297,7 @@ impl TextScreen {
|
||||
Self::rect(map, x * 8, y * 16, w * 8, h * 16, color.as_rgb());
|
||||
for y2 in y..y + h {
|
||||
line_changed(y2);
|
||||
}
|
||||
}
|
||||
for x2 in x..x + w {
|
||||
col_changed(x2);
|
||||
}
|
||||
|
||||
@@ -20,8 +20,6 @@ scheme-utils = { path = "../scheme-utils" }
|
||||
|
||||
[dependencies.log]
|
||||
workspace = true
|
||||
default-features = false
|
||||
features = ["release_max_level_warn"]
|
||||
|
||||
[dependencies.smoltcp]
|
||||
version = "0.12.0"
|
||||
|
||||
@@ -6,7 +6,7 @@ pub fn init_logger(process_name: &str) {
|
||||
OutputBuilder::stdout()
|
||||
.with_ansi_escape_codes()
|
||||
.flush_on_newline(true)
|
||||
.with_filter(log::LevelFilter::Trace)
|
||||
.with_filter(log::LevelFilter::Warn)
|
||||
.build(),
|
||||
)
|
||||
.with_process_name(process_name.into())
|
||||
|
||||
Reference in New Issue
Block a user