mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-20 23:11: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:
parent
c02a02edfc
commit
03f7d39ce5
@ -446,10 +446,9 @@ fn main() {
|
|||||||
.get_matches();
|
.get_matches();
|
||||||
|
|
||||||
let log_level = match cmd_arguments.occurrences_of("v") {
|
let log_level = match cmd_arguments.occurrences_of("v") {
|
||||||
0 => LevelFilter::Error,
|
0 => LevelFilter::Warn,
|
||||||
1 => LevelFilter::Warn,
|
1 => LevelFilter::Info,
|
||||||
2 => LevelFilter::Info,
|
2 => LevelFilter::Debug,
|
||||||
3 => LevelFilter::Debug,
|
|
||||||
_ => LevelFilter::Trace,
|
_ => LevelFilter::Trace,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user