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:
commit
27f59e775d
@ -9,4 +9,6 @@
|
|||||||
nocreate
|
nocreate
|
||||||
notifempty
|
notifempty
|
||||||
sharedscripts
|
sharedscripts
|
||||||
|
dateext
|
||||||
|
dateformat -%Y-%m-%d
|
||||||
}
|
}
|
||||||
|
@ -5,5 +5,6 @@
|
|||||||
compress
|
compress
|
||||||
notifempty
|
notifempty
|
||||||
copytruncate
|
copytruncate
|
||||||
|
dateext
|
||||||
|
dateformat -%Y-%m-%d
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user