diff --git a/jetty-centralized-logging/src/main/java/org/eclipse/jetty/logging/CentralizedLogging.java b/jetty-centralized-logging/src/main/java/org/eclipse/jetty/logging/CentralizedLogging.java index 4ccb8765853..28e8b0fdfac 100644 --- a/jetty-centralized-logging/src/main/java/org/eclipse/jetty/logging/CentralizedLogging.java +++ b/jetty-centralized-logging/src/main/java/org/eclipse/jetty/logging/CentralizedLogging.java @@ -32,11 +32,6 @@ public class CentralizedLogging extends AbstractLifeCycle private CentralizedWebAppLoggingConfiguration webAppConfiguration; private String configurationFilename; - public CentralizedLogging() - { - System.err.println(CentralizedLogging.class.getName() + " "); - } - public String getConfigurationFilename() { return configurationFilename; @@ -60,7 +55,10 @@ public class CentralizedLogging extends AbstractLifeCycle @Override protected void doStart() throws Exception { - CentralizedWebAppLoggingConfiguration.setLoggerConfigurationFilename(configurationFilename); + if (configurationFilename != null) + { + CentralizedWebAppLoggingConfiguration.setLoggerConfigurationFilename(configurationFilename); + } webAppConfiguration = new CentralizedWebAppLoggingConfiguration(); @SuppressWarnings("unchecked")