This closes #2672
This commit is contained in:
commit
1d0b5c3507
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue