docker-zulip
docker-zulip copied to clipboard
Fix #263: Implement log rotation for server/error logs in docker-zulip
This PR implements proper log rotation for server and error logs in docker-zulip.
Changes made:
- Added logrotate configuration
- Updated supervisor configuration
- Modified entrypoint.sh to handle log rotation setup
- Updated docker-compose.yml with proper volume mounts
Testing:
- Logs are now properly rotated daily
- Maximum file size is enforced
- Old logs are compressed and maintained for 7 days
- Supervisor properly reopens log files after rotation
Fixes #263
@timabbott Sir, I would like to make another attempt at resolving this issue. Kindly assign it to me once again. Additionally, I seek your guidance in solving the problem and improving my solution. Please provide suggestions on how I can refine my approach. I am confident that I can resolve this issue successfully.