Skip to content

Conversation

@kevinmon242
Copy link

What is this fixing or adding?

Adds the ability to configure how many days Archipelago logfiles are retained before automatic cleanup. Also allows disabling automatic cleanup by setting the log_retention_days value to 0.

How was this tested?

Ran pytest in general and utils test folders.
Generated local host.yaml and verified debug log messages with different values for log_retention_days.

@github-actions github-actions bot added affects: core Issues/PRs that touch core and may need additional validation. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels Dec 26, 2025
Copy link
Contributor

@Emerassi Emerassi left a comment

Choose a reason for hiding this comment

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

This addition seems sensible and I see no problems with the code.

Copy link
Collaborator

@silasary silasary left a comment

Choose a reason for hiding this comment

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

Simple enough change, works as intended.

@silasary silasary added waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer. and removed waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels Dec 27, 2025
Copy link
Contributor

@EmilyV99 EmilyV99 left a comment

Choose a reason for hiding this comment

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

Seems like a simple enough change. Code looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

affects: core Issues/PRs that touch core and may need additional validation. waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants