Skip to content

Commit

Permalink
Merge pull request AliyunContainerService#582 from l1b0k/fix/disable_…
Browse files Browse the repository at this point in the history
…debuglog

fix: default disable debug log
  • Loading branch information
BSWANG authored Mar 12, 2024
2 parents e94f53b + d52a385 commit a348824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/terway-cli/cni.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ func mergeConfigList(configs [][]byte, f *feature) (string, error) {
}

if ebpfSupport && requireEBPFChainer && !ebpfChainerExist {
err = g.ArrayAppend(map[string]any{"type": "cilium-cni", "enable-debug": true, "log-file": "/var/run/cilium/cilium-cni.log", "data-path": datapath}, "plugins")
err = g.ArrayAppend(map[string]any{"type": "cilium-cni", "enable-debug": false, "log-file": "/var/run/cilium/cilium-cni.log", "data-path": datapath}, "plugins")
if err != nil {
return "", err
}
Expand Down

0 comments on commit a348824

Please sign in to comment.