AMBARI-24851 - Logsearch: debug mode using java 8 and 11 (#15)