Move iptables logging in kubeproxy from Errorf to V(2).Infof
This commit is contained in:
parent
637cc0a8ba
commit
d354e0bf4f
@ -1571,7 +1571,8 @@ func (proxier *Proxier) syncProxyRules() {
|
||||
glog.V(5).Infof("Restoring iptables rules: %s", proxier.iptablesData.Bytes())
|
||||
err = proxier.iptables.RestoreAll(proxier.iptablesData.Bytes(), utiliptables.NoFlushTables, utiliptables.RestoreCounters)
|
||||
if err != nil {
|
||||
glog.Errorf("Failed to execute iptables-restore: %v\nRules:\n%s", err, proxier.iptablesData.Bytes())
|
||||
glog.Errorf("Failed to execute iptables-restore: %v", err)
|
||||
glog.V(2).Infof("Rules:\n%s", proxier.iptablesData.Bytes())
|
||||
// Revert new local ports.
|
||||
revertPorts(replacementPortsMap, proxier.portsMap)
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user