Log rotation: middleManager, historical

I’m having an issue with the middleManager and historical logs growing, and I can’t find a way to rotate them. Growing without bound is NOT acceptable. Running 0.14.2-incubating.



In the Imply distribution we rotate them with svlogd (part of runit: http://smarden.org/runit/svlogd.8.html). You could do something similar with the Apache distro, or you could set up rotation via log4j2 (see the “2.7 and earlier notes” for a mechanism that should work with the Apache distro too): https://support.imply.io/hc/en-us/articles/360006216874-How-to-configure-log-rotation-in-Druid-using-RollingFileAppender

thank you SOOOO much. Hopefully, the apache folks will add similar to the distribution.