Skip to content

fix(vector): add log rotation and Docker log limits#3

Open
fcassin wants to merge 2 commits into
mainfrom
fix/log-rotation
Open

fix(vector): add log rotation and Docker log limits#3
fcassin wants to merge 2 commits into
mainfrom
fix/log-rotation

Conversation

@fcassin

@fcassin fcassin commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add logging driver limits (max-size: 10m, max-file: 5) to the vector service, aligning it with all other services in this repo which already had limits set
  • Add a daily cron job in the vector entrypoint that deletes .log.gz files older than 7 days from /data/logs — Vector's file sink has no native retention, and files were accumulating indefinitely

database.yaml and proxy.yaml were checked and are already fully aligned.

Closes PlakarKorp/plakman#348

fcassin and others added 2 commits June 24, 2026 11:40
Add logging driver limits (max-size: 10m, max-file: 5) to the vector
service. Add a daily cron job in the vector entrypoint to delete
.log.gz files older than 7 days from /data/logs.

Closes PlakarKorp/plakman#348

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
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