Skip to content

[FEATURE] Archive large log files #329

@edenreich

Description

@edenreich

Summary

Problem: Log files grow indefinitely and consume excessive disk space

When the application runs for extended periods, log files can grow very large and eventually bloat the disk. We should introduce automatic log rotation similar to how logrotate works.

Acceptance Criteria

  • Add logrotate behavior - too large log files should get archived
  • Above 1GB as default should trigger a rotation - user is still able to configure other threshold
  • It's configurable under logging.archive
  • It's documented
  • It's tested

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions