From b0706f470d08e15dd3b35c9d0637c9a2411b2ed9 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 1 Sep 2020 17:11:21 +0800 Subject: [PATCH] runtime: set default log level to Info --- src/runtime/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/src/main.rs b/src/runtime/src/main.rs index a2e77ab8..dc118dc4 100644 --- a/src/runtime/src/main.rs +++ b/src/runtime/src/main.rs @@ -166,9 +166,9 @@ pub fn main_core0() { let buffer_logger = unsafe { logger::BufferLogger::new(&mut LOG_BUFFER[..]) }; - buffer_logger.set_uart_log_level(log::LevelFilter::Debug); + buffer_logger.set_uart_log_level(log::LevelFilter::Info); buffer_logger.register(); - log::set_max_level(log::LevelFilter::Debug); + log::set_max_level(log::LevelFilter::Info); info!("NAR3/Zynq7000 starting...");