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
This commit is contained in:
parent
bbdfe61a5f
commit
f610858e6f
|
@ -32,11 +32,6 @@ public class CentralizedLogging extends AbstractLifeCycle
|
|||
private CentralizedWebAppLoggingConfiguration webAppConfiguration;
|
||||
private String configurationFilename;
|
||||
|
||||
public CentralizedLogging()
|
||||
{
|
||||
System.err.println(CentralizedLogging.class.getName() + " <init>");
|
||||
}
|
||||
|
||||
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")
|
||||
|
|
Loading…
Reference in New Issue