Skip to content

Copytruncate updates#553

Merged
cgzones merged 2 commits intologrotate:mainfrom
cgzones:compress_truncate
Mar 15, 2024
Merged

Copytruncate updates#553
cgzones merged 2 commits intologrotate:mainfrom
cgzones:compress_truncate

Conversation

@cgzones
Copy link
Member

@cgzones cgzones commented Oct 19, 2023

  • Do not skip copy when mailing
    Do not skip copying the about to truncated file if the rotate count is 0 when the log content should be mailed.

  • Skip compressing skipped copy
    Skip compressing the non existent file skipped during truncation under a rotate count of 0.

    Closes: copytruncate,compress and default rotate value incompatibility #552

Do not skip copying the about to truncated file if the rotate count is 0
when the log content should be mailed.
Skip compressing the non existent file skipped during truncation under a
rotate count of 0.

Closes: logrotate#552
@cgzones cgzones force-pushed the compress_truncate branch from cf2258a to 5c8f412 Compare January 5, 2024 15:20
@cgzones cgzones mentioned this pull request Jan 5, 2024
8 tasks
@cgzones cgzones merged commit 22b8bb7 into logrotate:main Mar 15, 2024
@cgzones cgzones deleted the compress_truncate branch March 15, 2024 19:10
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.

copytruncate,compress and default rotate value incompatibility

1 participant