runtime: set default log level to Info

This commit is contained in:
Sebastien Bourdeauducq 2020-09-01 17:11:21 +08:00
parent 6ede148810
commit b0706f470d

View File

@ -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...");