From 32116a6442b1fe4ea415fdb135775ba8d139e675 Mon Sep 17 00:00:00 2001 From: Ghazi Triki Date: Tue, 14 May 2024 11:34:40 +0100 Subject: [PATCH] Update logrotate rule to add date extension to archived logs files. --- .../bbb-record-core/bbb-record-core.logrotate | 6 ++++-- .../bbb-webrtc-sfu/bbb-webrtc-sfu.logrotate | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/build/packages-template/bbb-record-core/bbb-record-core.logrotate b/build/packages-template/bbb-record-core/bbb-record-core.logrotate index 9f4bf652c4..025895f835 100644 --- a/build/packages-template/bbb-record-core/bbb-record-core.logrotate +++ b/build/packages-template/bbb-record-core/bbb-record-core.logrotate @@ -1,5 +1,5 @@ -/var/log/bigbluebutton/bbb-rap-worker.log -/var/log/bigbluebutton/sanity.log +/var/log/bigbluebutton/bbb-rap-worker.log +/var/log/bigbluebutton/sanity.log { weekly missingok @@ -9,4 +9,6 @@ nocreate notifempty sharedscripts + dateext + dateformat -%Y-%m-%d } diff --git a/build/packages-template/bbb-webrtc-sfu/bbb-webrtc-sfu.logrotate b/build/packages-template/bbb-webrtc-sfu/bbb-webrtc-sfu.logrotate index ff817bf9f2..c52c9230f6 100644 --- a/build/packages-template/bbb-webrtc-sfu/bbb-webrtc-sfu.logrotate +++ b/build/packages-template/bbb-webrtc-sfu/bbb-webrtc-sfu.logrotate @@ -5,5 +5,6 @@ compress notifempty copytruncate + dateext + dateformat -%Y-%m-%d } -