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

fix: logrotate parsing to actually remove managed logs from being flagged #78

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

SaschaD-Adfinis
Copy link
Contributor

The content of logrotate contains a line per log file in the structure "log file" timestamp.
The previous implementation compared those strings directly to a list of only file names, leading to no file getting removed from the list and all files in /var/log showing up in the task output.

Also made the output a bit more readable.

@SaschaD-Adfinis SaschaD-Adfinis requested a review from s3lph October 31, 2024 16:56
@SaschaD-Adfinis SaschaD-Adfinis self-assigned this Oct 31, 2024
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.

1 participant