I would like to use a RollingFileAppender for the middle manager log. I can easily edit the _common/log4j2.xml file to accomplish this, but unfortunately the peon processes also use the same config file. I have tried adding:
druid.indexer.runner.javaOptsArray=["-XX:OnOutOfMemoryError=kill -9 %p","-Dlog4j.configuration=file:/services/druid/conf/middleManager/peon-log4j2.xml"]
To the middle manager runtime.properties file, but it does not get picked up.
Can anyone point me in the right direction here?