Skip to content

do not rotate old logs on prerotate failure#506

Merged
cgzones merged 1 commit intologrotate:masterfrom
cgzones:prerotate
May 5, 2023
Merged

do not rotate old logs on prerotate failure#506
cgzones merged 1 commit intologrotate:masterfrom
cgzones:prerotate

Conversation

@cgzones
Copy link
Member

@cgzones cgzones commented Apr 4, 2023

Ensures old logs are preserved and not rotated out for logs with a failing prerotate script.

Alternative to #502

@cgzones cgzones marked this pull request as ready for review April 11, 2023 14:38
Copy link
Member

@kdudka kdudka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also describe the behavior in the man page more precisely?

Ensures old logs are preserved and not rotated out for logs with a
failing prerotate script.

Alternative to logrotate#502
@cgzones
Copy link
Member Author

cgzones commented Apr 28, 2023

Should we also describe the behavior in the man page more precisely?

Improved the man page a bit; or did you mean a complete action order list (firstaction, prerotate, rotating old logs, rotating log file, ..., lastaction)?

@kdudka
Copy link
Member

kdudka commented May 1, 2023

I think the updated wording is fine. I admit I had to read it twice but hopefully understood in the end :-)

@cgzones cgzones merged commit fd1892e into logrotate:master May 5, 2023
@cgzones cgzones deleted the prerotate branch May 5, 2023 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants