From 37289beee00158d3b013ffb576b7125fd716d8f8 Mon Sep 17 00:00:00 2001 From: Red Bear OS Date: Sat, 18 Jul 2026 09:47:24 +0900 Subject: [PATCH] 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). --- drivers/common/src/logger.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/common/src/logger.rs b/drivers/common/src/logger.rs index 31673a35c3..a531edd945 100644 --- a/drivers/common/src/logger.rs +++ b/drivers/common/src/logger.rs @@ -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.