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

Add log Deletion based on numbr of days old #65

Merged
merged 1 commit into from
May 16, 2024

Conversation

Killerherts
Copy link
Contributor

@Killerherts Killerherts commented May 15, 2024

Completes #63

Add LOGDAYS env var allowing users to set number of days to say log

I figured setting a number of days was a bit more flexible in case the server was in some sort of loop, you don't lose history.

This will remove all logs older than 3 days by default when not env var is present

Add LOGDAYS env var allowing users to set number of days to say log
@TrueOsiris TrueOsiris merged commit cddcb65 into TrueOsiris:main May 16, 2024
@Killerherts Killerherts deleted the logDelete branch May 16, 2024 12:59
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