Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jetty-webapp/src/main/java/org/eclipse/jetty/webapp/JettyWebXmlConfiguration.java')
-rw-r--r--jetty-webapp/src/main/java/org/eclipse/jetty/webapp/JettyWebXmlConfiguration.java13
1 files changed, 8 insertions, 5 deletions
diff --git a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/JettyWebXmlConfiguration.java b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/JettyWebXmlConfiguration.java
index 4dc8febc17..71b8479717 100644
--- a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/JettyWebXmlConfiguration.java
+++ b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/JettyWebXmlConfiguration.java
@@ -16,6 +16,7 @@ package org.eclipse.jetty.webapp;
import java.util.Map;
import org.eclipse.jetty.util.log.Log;
+import org.eclipse.jetty.util.log.Logger;
import org.eclipse.jetty.util.resource.Resource;
import org.eclipse.jetty.xml.XmlConfiguration;
@@ -31,6 +32,8 @@ import org.eclipse.jetty.xml.XmlConfiguration;
*/
public class JettyWebXmlConfiguration extends AbstractConfiguration
{
+ private static final Logger LOG = Log.getLogger(JettyWebXmlConfiguration.class);
+
/** The value of this property points to the WEB-INF directory of
* the web-app currently installed.
* it is passed as a property to the jetty-web.xml file */
@@ -51,12 +54,12 @@ public class JettyWebXmlConfiguration extends AbstractConfiguration
//cannot configure if the _context is already started
if (context.isStarted())
{
- if (Log.isDebugEnabled()){Log.debug("Cannot configure webapp after it is started");}
+ if (LOG.isDebugEnabled()){LOG.debug("Cannot configure webapp after it is started");}
return;
}
- if(Log.isDebugEnabled())
- Log.debug("Configuring web-jetty.xml");
+ if(LOG.isDebugEnabled())
+ LOG.debug("Configuring web-jetty.xml");
Resource web_inf = context.getWebInf();
// handle any WEB-INF descriptors
@@ -76,8 +79,8 @@ public class JettyWebXmlConfiguration extends AbstractConfiguration
try
{
context.setServerClasses(null);
- if(Log.isDebugEnabled())
- Log.debug("Configure: "+jetty);
+ if(LOG.isDebugEnabled())
+ LOG.debug("Configure: "+jetty);
XmlConfiguration jetty_config = (XmlConfiguration)context.getAttribute(XML_CONFIGURATION);
if (jetty_config==null)
jetty_config=new XmlConfiguration(jetty.getURL());

Back to the top