Skip to content

Commit

Permalink
Raise log level of VM Class to VM request mapper func
Browse files Browse the repository at this point in the history
These logs are not worth the noise, especially for classes that
aren't being used by any VMs in the namespace.
  • Loading branch information
Bryan Venteicher committed Jan 16, 2025
1 parent 55b7de5 commit 95ee940
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,9 @@ func classToVMMapperFn(
}
}

logger.Info("Returning VM reconcile requests due to VirtualMachineClass watch", "requests", reconcileRequests)
if len(reconcileRequests) > 0 {
logger.V(4).Info("Returning VM reconcile requests due to VirtualMachineClass watch", "requests", reconcileRequests)
}
return reconcileRequests
}
}
Expand Down

0 comments on commit 95ee940

Please sign in to comment.