Set the system property java.util.logging.manager to org.apache.logging.log4j.jul.LogManager. I did it with the following command in Dockerfile: ENV LS_JAVA_OPTS -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager
Add required logging configuration to /opt/logstash/config/log4j2.properties file. In my case I just added the 2 lines to enable FINER logging for com.microsoft.sqlserver.jdbc.internals.SQLServerConnection class:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.