Commit 5b722809 authored by Alex Robinson's avatar Alex Robinson

Merge pull request #4026 from dchen1107/logging

make kube-proxy.log less verbose.
parents ce164f67 4aac47c3
...@@ -183,7 +183,7 @@ func (runner *runner) run(op operation, args []string) ([]byte, error) { ...@@ -183,7 +183,7 @@ func (runner *runner) run(op operation, args []string) ([]byte, error) {
iptablesCmd := runner.iptablesCommand() iptablesCmd := runner.iptablesCommand()
fullArgs := append([]string{string(op)}, args...) fullArgs := append([]string{string(op)}, args...)
glog.V(1).Infof("running iptables %s %v", string(op), args) glog.V(4).Infof("running iptables %s %v", string(op), args)
return runner.exec.Command(iptablesCmd, fullArgs...).CombinedOutput() return runner.exec.Command(iptablesCmd, fullArgs...).CombinedOutput()
// Don't log err here - callers might not think it is an error. // Don't log err here - callers might not think it is an error.
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment