Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Log rotation #6

Merged
merged 3 commits into from
Dec 22, 2024
Merged

Log rotation #6

merged 3 commits into from
Dec 22, 2024

Conversation

matthewdeaves
Copy link
Owner

No description provided.

- Add logrotate configuration for automated log rotation
- Implement SafeRotatingFileHandler with file locking and compression
- Configure separate log handling for dev/prod environments
- Add log maintenance scripts and cron jobs
- Set up proper permissions and ownership in Docker
- Add interactive CLI commands for log rotation
- Configure retention policies and compression
- Implement proper file locking for concurrent access

Technical changes:
- Use logrotate for system-level rotation
- Implement file locking with fcntl
- Add timestamp-based rotation with compression
- Configure proper permissions for appuser
- Add CLI commands for manual rotation
@matthewdeaves matthewdeaves merged commit 19b6e0a into main Dec 22, 2024
1 check passed
@matthewdeaves matthewdeaves deleted the log-rotation branch December 22, 2024 20:14
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant