Skip to content

Commit 7f2b3e6

Browse files
committed
silenced output of start-audit-log-rotation and made it ENV dependning instead
1 parent b7a2ffa commit 7f2b3e6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bindata/network/ovn-kubernetes/common/008-script-lib.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ data:
126126
# /run/ovn/
127127
start-audit-log-rotation()
128128
{
129+
if [[ "${OVNKUBE_SH_VERBOSE:-}" != "true" ]]; then
130+
set +x
131+
fi
129132
# Rotate audit log files when then get to max size (in bytes)
130133
MAXFILESIZE=$(( "{{.OVNPolicyAuditMaxFileSize}}"*1000000 ))
131134
MAXLOGFILES="{{.OVNPolicyAuditMaxLogFiles}}"

0 commit comments

Comments
 (0)