For LLAP and HS2, some configuration changes can be made to improve logging performance
1) LOG4j2's async logger claims to have 6-68 times better performance than synchronous logger. https://logging.apache.org/log4j/2.x/manual/async.html
2) Replace File appenders with RandomAccessFileAppender that claims to be 20-200% more performant.
Also make async logging configurable.