iay / mdq-server-docker

mdq-server deployment as Docker containers
1 stars 3 forks source link

implement log rotation #12

Closed iay closed 9 years ago

iay commented 9 years ago

At the moment all logging is going into a single spring.log file. We should add at least some minimal log rotation to this so that the file doesn't get too big, and so that old chunks can be removed. It's acceptable at present for the latter to be performed by something running outside the container.

iay commented 9 years ago

It's possible that this is already implemented. Spring Boot documentation indicates that log files will be automatically rolled at 10MB, and we haven't reached that on any deployment yet. Review periodically.

iay commented 9 years ago

Observed that log rotation does appear to be happening at 10MB.