mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
main: Set default log level to warn!() equivalent.
Using our standard configuration and default kernel we trigger no messages at this level. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
@@ -446,10 +446,9 @@ fn main() {
|
||||
.get_matches();
|
||||
|
||||
let log_level = match cmd_arguments.occurrences_of("v") {
|
||||
0 => LevelFilter::Error,
|
||||
1 => LevelFilter::Warn,
|
||||
2 => LevelFilter::Info,
|
||||
3 => LevelFilter::Debug,
|
||||
0 => LevelFilter::Warn,
|
||||
1 => LevelFilter::Info,
|
||||
2 => LevelFilter::Debug,
|
||||
_ => LevelFilter::Trace,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user