Merge pull request #20249 from riadvice/logrotate-improve

build: Update logrotate rule to add date extension to archived logs files
This commit is contained in:
Anton Georgiev 2024-05-24 11:33:25 -04:00 committed by GitHub
commit 27f59e775d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/var/log/bigbluebutton/bbb-rap-worker.log /var/log/bigbluebutton/bbb-rap-worker.log
/var/log/bigbluebutton/sanity.log /var/log/bigbluebutton/sanity.log
{ {
weekly weekly
missingok missingok
@ -9,4 +9,6 @@
nocreate nocreate
notifempty notifempty
sharedscripts sharedscripts
dateext
dateformat -%Y-%m-%d
} }

View File

@ -5,5 +5,6 @@
compress compress
notifempty notifempty
copytruncate copytruncate
dateext
dateformat -%Y-%m-%d
} }