Skip to content

Commit bf2a7fe

Browse files
yangjunmyfm192085dims
authored andcommitted
Adjust the log level of Initialize Plugins
1 parent 81b16be commit bf2a7fe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

container/factory.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,9 @@ func InitializePlugins(factory info.MachineInfoFactory, fsInfo fs.FsInfo, includ
216216
for name, plugin := range plugins {
217217
watcher, err := plugin.Register(factory, fsInfo, includedMetrics)
218218
if err != nil {
219-
klog.V(5).Infof("Registration of the %s container factory failed: %v", name, err)
219+
klog.Infof("Registration of the %s container factory failed: %v", name, err)
220+
} else {
221+
klog.Infof("Registration of the %s container factory successfully", name)
220222
}
221223
if watcher != nil {
222224
containerWatchers = append(containerWatchers, watcher)

0 commit comments

Comments
 (0)