You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be possible to specify a list for the path and postrotate variable in a logrotate entry, instead of just a single string.
Rationale
It is perfectly fine in logrotate to give multiple postrotate commands and paths to files that should be rotated, especially when one wants to simply apply the same ruleset on multiple paths.
Since it is currently only possible to specify a single path in a logrotate entry, you would need to duplicate the same entry over and over where just the logfile changes to achieve this same behaviour, which seems unnecessary.
The text was updated successfully, but these errors were encountered:
Proposed feature
It should be possible to specify a list for the
path
andpostrotate
variable in a logrotate entry, instead of just a single string.Rationale
It is perfectly fine in logrotate to give multiple
postrotate
commands andpaths
to files that should be rotated, especially when one wants to simply apply the same ruleset on multiple paths.Since it is currently only possible to specify a single path in a logrotate entry, you would need to duplicate the same entry over and over where just the logfile changes to achieve this same behaviour, which seems unnecessary.
The text was updated successfully, but these errors were encountered: