ARTEMIS-2234 fix warning from LoggingConfigurationFileReloader
return the LogContextConfiguration if we have one
This commit is contained in:
parent
65d01a4f91
commit
8b272bd1c8
|
@ -81,6 +81,9 @@ public class LoggingConfigurationFileReloader implements ReloadCallback {
|
||||||
if (configurator instanceof PropertyConfigurator) {
|
if (configurator instanceof PropertyConfigurator) {
|
||||||
return ((PropertyConfigurator) configurator).getLogContextConfiguration();
|
return ((PropertyConfigurator) configurator).getLogContextConfiguration();
|
||||||
}
|
}
|
||||||
|
if (configurator instanceof LogContextConfiguration) {
|
||||||
|
return (LogContextConfiguration) configurator;
|
||||||
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue