diff --git a/cni/network/plugin/main.go b/cni/network/plugin/main.go index c9420b9a45..d6ed0cdf18 100644 --- a/cni/network/plugin/main.go +++ b/cni/network/plugin/main.go @@ -186,7 +186,7 @@ func rootExecute() error { if err == nil { cniReport.VMUptime = upTime.Format("2006-01-02 15:04:05") } else { - logger.Info("Failed to query last reboot time", zap.Error(err)) + logger.Error("Failed to query last reboot time", zap.Error(err)) } // CNI Acquires lock diff --git a/network/manager.go b/network/manager.go index 7d71e86c1b..b908deeb27 100644 --- a/network/manager.go +++ b/network/manager.go @@ -156,7 +156,7 @@ func (nm *networkManager) restore(isRehydrationRequired bool) error { if err == nil { rebootTime, err := platform.GetLastRebootTime() if err != nil { - logger.Info("Failed to query last reboot time", zap.Error(err)) + logger.Error("Failed to query last reboot time", zap.Error(err)) } logger.Info("reboot time, store mod time", zap.Any("rebootTime", rebootTime), zap.Any("modTime", modTime)) if err == nil && rebootTime.After(modTime) {