Update logrotate rule to add date extension to archived logs files.

This commit is contained in:
Ghazi Triki 2024-05-14 11:34:40 +01:00
parent 48df491e58
commit 32116a6442
2 changed files with 6 additions and 3 deletions

View File

@ -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
} }