mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 11:22:26 +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:
parent
c02a02edfc
commit
03f7d39ce5
@ -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,
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user