Skip to content

Commit

Permalink
runtime: fix comment to accurately reflect clh behavior
Browse files Browse the repository at this point in the history
Fix the CLH log levels description

Signed-off-by: Cameron Baird <[email protected]>
  • Loading branch information
Camelron committed Nov 18, 2024
1 parent 52039cb commit 65ddfde
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/runtime/virtcontainers/clh.go
Original file line number Diff line number Diff line change
Expand Up @@ -1433,11 +1433,10 @@ func (clh *cloudHypervisor) launchClh() error {
if clh.config.Debug {
// Cloud hypervisor log levels
// 'v' occurrences increase the level
//0 => Error
//1 => Warn
//2 => Info
//3 => Debug
//4+ => Trace
//0 => Warn
//1 => Info
//2 => Debug
//3+ => Trace
// Use Info, the CI runs with debug enabled
// a high level of logging increases the boot time
// and in a nested environment this could increase
Expand Down

0 comments on commit 65ddfde

Please sign in to comment.