Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce 'logrotate' log generator #720

Merged
merged 5 commits into from
Nov 7, 2023
Merged

Introduce 'logrotate' log generator #720

merged 5 commits into from
Nov 7, 2023

Conversation

blt
Copy link
Collaborator

@blt blt commented Nov 2, 2023

What does this PR do?

This commit introduces a new log generator that is able to mimic logrotate's operation. This also allows us to mimic how kubernetes logs work by setting total_rotations to be zero.

Related issues

REF SMPTNG-44

This commit introduces a new log generator that is able to mimic logrotate's
operation. This also allows us to mimic how kubernetes logs work by setting
`total_rotations` to be zero.

REF SMPTNG-44

Signed-off-by: Brian L. Troutwine <[email protected]>
@blt blt requested a review from scottopell November 2, 2023 00:26
@blt blt requested a review from a team as a code owner November 2, 2023 00:26
Signed-off-by: Brian L. Troutwine <[email protected]>
Signed-off-by: Brian L. Troutwine <[email protected]>
@goxberry
Copy link
Contributor

goxberry commented Nov 2, 2023

Is this PR still work in progress? It looks as though it isn't yet possible to configure a logrotate file generator via a configuration file.

@goxberry
Copy link
Contributor

goxberry commented Nov 2, 2023

Otherwise, this is looking good to me. Very cool.

@blt
Copy link
Collaborator Author

blt commented Nov 2, 2023

Otherwise, this is looking good to me. Very cool.

It is. Seems like the basic idea lands, today I intend to wire it up and try it out on some RCs.

Signed-off-by: Brian L. Troutwine <[email protected]>
Signed-off-by: Brian L. Troutwine <[email protected]>
@blt blt merged commit 8c7d039 into main Nov 7, 2023
20 of 21 checks passed
@blt blt deleted the k8s_log_gen branch November 7, 2023 01:05
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.

3 participants