Add JUL bridge (#96683)

This commit adds the Log4j JUL bridge so that messages using JUL are
more nicely converted to log4j messages. Currently these messages are
captured via the stdout logging stream. This commit also adds a log4j
filter to replace the logging stream filtering mechanism used to quiet
some Lucene log messages that may be confusing to users.

closes #94613
This commit is contained in:
Ryan Ernst 2023-06-13 19:31:05 -04:00 committed by GitHub
parent bb3ef2bd29
commit 2bdf1bc0d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 46 additions and 267 deletions

View file

@ -39,6 +39,7 @@ module org.elasticsearch.server {
requires org.apache.logging.log4j;
requires org.apache.logging.log4j.core;
requires org.apache.logging.log4j.jul;
requires org.apache.lucene.analysis.common;
requires org.apache.lucene.backward_codecs;