This commit is contained in:
Clebert Suconic 2019-05-16 18:44:29 -04:00
commit 1d0b5c3507
1 changed files with 1 additions and 2 deletions

View File

@ -23,7 +23,6 @@ import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.lang.management.ManagementFactory;
import java.net.URI;
import java.net.URL;
import java.security.AccessController;
import java.security.PrivilegedAction;
@ -2772,7 +2771,7 @@ public class ActiveMQServerImpl implements ActiveMQServer {
if (System.getProperty("logging.configuration") != null) {
try {
reloadManager.addCallback(new URI(System.getProperty("logging.configuration")).toURL(), new LoggingConfigurationFileReloader());
reloadManager.addCallback(new URL(System.getProperty("logging.configuration")), new LoggingConfigurationFileReloader());
} catch (Exception e) {
// a syntax error with the logging system property shouldn't prevent the server from starting
ActiveMQServerLogger.LOGGER.problemAddingConfigReloadCallback(System.getProperty("logging.configuration"), e);