diff --git a/plugin/src/main/java/org/elasticsearch/xpack/ssl/SSLConfigurationReloader.java b/plugin/src/main/java/org/elasticsearch/xpack/ssl/SSLConfigurationReloader.java index 993bd794eeb..77d9d9c2821 100644 --- a/plugin/src/main/java/org/elasticsearch/xpack/ssl/SSLConfigurationReloader.java +++ b/plugin/src/main/java/org/elasticsearch/xpack/ssl/SSLConfigurationReloader.java @@ -114,11 +114,17 @@ public class SSLConfigurationReloader extends AbstractComponent { @Override public void onFileChanged(Path file) { + boolean reloaded = false; for (SSLConfiguration sslConfiguration : sslConfigurations) { if (sslConfiguration.filesToMonitor(environment).contains(file)) { reloadSSLContext(sslConfiguration); + reloaded = true; } } + + if (reloaded) { + logger.info("reloaded [{}] and updated ssl contexts using this file", file); + } } } }