diff --git a/bindata/network/ovn-kubernetes/common/008-script-lib.yaml b/bindata/network/ovn-kubernetes/common/008-script-lib.yaml index c22fca3126..02348710db 100644 --- a/bindata/network/ovn-kubernetes/common/008-script-lib.yaml +++ b/bindata/network/ovn-kubernetes/common/008-script-lib.yaml @@ -126,6 +126,9 @@ data: # /run/ovn/ start-audit-log-rotation() { + if [[ "${OVNKUBE_SH_VERBOSE:-}" != "true" ]]; then + set +x + fi # Rotate audit log files when then get to max size (in bytes) MAXFILESIZE=$(( "{{.OVNPolicyAuditMaxFileSize}}"*1000000 )) MAXLOGFILES="{{.OVNPolicyAuditMaxLogFiles}}"