Revert 'common/logger: quiet console output to Warn'

The Warn console level correlated with a deterministic login-auth
regression in the mini image (login reads the username but never reaches
MOTD/spawn_shell; 0/3 boots authenticated vs 1/1 with Info). Restore
Info-level console output while the interaction is re-verified; console
spam will be reduced later via a safer mechanism (routing daemon output,
not lowering the shared log level).
This commit is contained in:
Red Bear OS
2026-07-18 09:47:24 +09:00
parent c739f32aa2
commit 37289beee0
+2 -8
View File
@@ -3,15 +3,9 @@ use std::str::FromStr;
use libredox::{flag, Fd};
use redox_log::{OutputBuilder, RedoxLogger};
/// Get the log verbosity for the interactive console (stderr) output level.
///
/// Kept at `Warn` so daemons do not spam the shared console/login VT with
/// routine INFO chatter after the login prompt appears (boot continues in
/// parallel with getty). Full INFO-level logs are still written to each
/// daemon's log files via [`file_level`]. A per-daemon bootloader env var
/// (see `read_bootloader_log_level_env`) can still raise this when debugging.
/// Get the log verbosity for the output level.
pub fn output_level() -> log::LevelFilter {
log::LevelFilter::Warn
log::LevelFilter::Info
}
/// Get the log verbosity for the file level.