From 1268d1a8ff788dd570aadd8babda7c3ffada77c2 Mon Sep 17 00:00:00 2001 From: Antonio Ojea Date: Thu, 24 Oct 2019 15:52:05 +0200 Subject: [PATCH] Improve iptables logging --- pkg/util/iptables/iptables.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/util/iptables/iptables.go b/pkg/util/iptables/iptables.go index a4766a793fb..50dce1543c9 100644 --- a/pkg/util/iptables/iptables.go +++ b/pkg/util/iptables/iptables.go @@ -397,7 +397,7 @@ func (runner *runner) runContext(ctx context.Context, op operation, args []strin iptablesCmd := iptablesCommand(runner.protocol) fullArgs := append(runner.waitFlag, string(op)) fullArgs = append(fullArgs, args...) - klog.V(5).Infof("running iptables %s %v", string(op), args) + klog.V(5).Infof("running iptables: %s %v", iptablesCmd, fullArgs) if ctx == nil { return runner.exec.Command(iptablesCmd, fullArgs...).CombinedOutput() }