Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ task importMinimalElasticsearch() {
from(buildElasticsearchLocalDistro.lib) {
include jarPackageNamed("elasticsearch")
include jarPackageNamed("elasticsearch-core")
include jarPackageNamed("elasticsearch-logging")
include jarPackageNamed("elasticsearch-x-content")
include jarPackageNamed("elasticsearch-geo")
include jarPackageNamed("lucene-core")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import com.google.common.util.concurrent.Service;
import com.google.common.util.concurrent.ServiceManager;
import org.elasticsearch.client.RestClient;
import org.elasticsearch.common.logging.LogConfigurator;
import org.elasticsearch.logstashbridge.common.SettingsBridge;
import org.elasticsearch.logstashbridge.core.IOUtilsBridge;
import org.elasticsearch.logstashbridge.env.EnvironmentBridge;
Expand Down Expand Up @@ -49,6 +50,11 @@
@SuppressWarnings("UnusedReturnValue")
public class EventProcessorBuilder {

static {
// wires through to log4j under the hood
LogConfigurator.configureESLogging();
}
Comment on lines +53 to +56
Copy link
Member Author

@yaauie yaauie Oct 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bit belongs in the Logstash bridge in Elasticsearch core, but that can be done as a follow-up.


static final Duration CACHE_MAXIMUM_AGE = Duration.ofHours(24);
static final Duration CACHE_RELOAD_FREQUENCY = Duration.ofSeconds(60);

Expand Down