docker-zulip icon indicating copy to clipboard operation
docker-zulip copied to clipboard

Fix #263: Implement log rotation for server/error logs in docker-zulip

Open savaliyabhargav opened this issue 1 year ago • 1 comments

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

savaliyabhargav avatar Nov 14 '24 11:11 savaliyabhargav

@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.

savaliyabhargav avatar Nov 27 '24 18:11 savaliyabhargav