Skip to content

Commit

Permalink
Adjust the log level of Initialize Plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
yangjunmyfm192085 authored and dims committed Oct 16, 2023
1 parent 81b16be commit bf2a7fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion container/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,9 @@ func InitializePlugins(factory info.MachineInfoFactory, fsInfo fs.FsInfo, includ
for name, plugin := range plugins {
watcher, err := plugin.Register(factory, fsInfo, includedMetrics)
if err != nil {
klog.V(5).Infof("Registration of the %s container factory failed: %v", name, err)
klog.Infof("Registration of the %s container factory failed: %v", name, err)
} else {
klog.Infof("Registration of the %s container factory successfully", name)
}
if watcher != nil {
containerWatchers = append(containerWatchers, watcher)
Expand Down

0 comments on commit bf2a7fe

Please sign in to comment.