From f610858e6fd03ac6505474925d1b061c9ce08fe8 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Thu, 10 Sep 2009 23:49:14 +0000 Subject: [PATCH] Making configurationFilename on CentralizedLogging optional git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@871 7e9141cc-0065-0410-87d8-b60c137991c4 --- .../org/eclipse/jetty/logging/CentralizedLogging.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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")