diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/LoggingConfigurationFileReloader.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/LoggingConfigurationFileReloader.java index 26fdf2919e..b96c24cb6e 100644 --- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/LoggingConfigurationFileReloader.java +++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/LoggingConfigurationFileReloader.java @@ -81,6 +81,9 @@ public class LoggingConfigurationFileReloader implements ReloadCallback { if (configurator instanceof PropertyConfigurator) { return ((PropertyConfigurator) configurator).getLogContextConfiguration(); } + if (configurator instanceof LogContextConfiguration) { + return (LogContextConfiguration) configurator; + } return null; } } \ No newline at end of file