Refactor userlogrotate #115
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
security
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: evolix/ansible-roles#115
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The script
userlogrotate
(./packweb-apache/files/userlogrotate
) is mixing logic and data which make it difficult to adjust on specific system and prone of issue when doing such modification. Having a variable containg the list of logs to rotate would make it easier to add and remove files from it.By default the
rotate
function shouldn't modify the ownership of the log file and just use the log before rotation.See evoticket 52982 for an example of a failing attempt to modify this script.