Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2013-02-25 03:42:30 +0000
committerGreg Wilkins2013-02-25 03:42:30 +0000
commit2d310ac82e034d57f8b536562ce66b5ee98dd582 (patch)
treed06b3148861aa47b57523848058187f02cb2d1f5
parent859710c2c5a5dccece3be08e81a92444c0423240 (diff)
downloadorg.eclipse.jetty.project-2d310ac82e034d57f8b536562ce66b5ee98dd582.tar.gz
org.eclipse.jetty.project-2d310ac82e034d57f8b536562ce66b5ee98dd582.tar.xz
org.eclipse.jetty.project-2d310ac82e034d57f8b536562ce66b5ee98dd582.zip
401642 Less verbose INFOs
-rw-r--r--jetty-client/src/main/java/org/eclipse/jetty/client/HttpClient.java6
-rw-r--r--jetty-deploy/src/main/java/org/eclipse/jetty/deploy/DeploymentManager.java6
-rw-r--r--jetty-proxy/src/main/java/org/eclipse/jetty/proxy/ProxyServlet.java2
-rw-r--r--jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java10
4 files changed, 9 insertions, 15 deletions
diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpClient.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpClient.java
index 241fed6485..4ddfc59eb5 100644
--- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpClient.java
+++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpClient.java
@@ -217,8 +217,6 @@ public class HttpClient extends ContainerLifeCycle
cookieStore = cookieManager.getCookieStore();
super.doStart();
-
- LOG.info("Started {}", this);
}
protected SelectorManager newSelectorManager()
@@ -234,8 +232,6 @@ public class HttpClient extends ContainerLifeCycle
@Override
protected void doStop() throws Exception
{
- LOG.debug("Stopping {}", this);
-
cookieStore.removeAll();
cookieStore = null;
decoderFactories.clear();
@@ -251,8 +247,6 @@ public class HttpClient extends ContainerLifeCycle
authenticationStore.clearAuthenticationResults();
super.doStop();
-
- LOG.info("Stopped {}", this);
}
/**
diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/DeploymentManager.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/DeploymentManager.java
index d29a833185..7bf0b07e6c 100644
--- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/DeploymentManager.java
+++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/DeploymentManager.java
@@ -134,7 +134,7 @@ public class DeploymentManager extends ContainerLifeCycle
*/
public void addApp(App app)
{
- LOG.info("Deployable added: " + app.getOriginId());
+ LOG.debug("Deployable added: {}",app.getOriginId());
AppEntry entry = new AppEntry();
entry.app = app;
entry.setLifeCycleNode(_lifecycle.getNodeByName("undeployed"));
@@ -405,7 +405,7 @@ public class DeploymentManager extends ContainerLifeCycle
if (! AppLifeCycle.UNDEPLOYED.equals(entry.lifecyleNode.getName()))
requestAppGoal(entry.app,AppLifeCycle.UNDEPLOYED);
it.remove();
- LOG.info("Deployable removed: " + entry.app);
+ LOG.debug("Deployable removed: {}",entry.app);
}
}
}
@@ -564,7 +564,7 @@ public class DeploymentManager extends ContainerLifeCycle
public void undeployAll()
{
- LOG.info("Undeploy All");
+ LOG.debug("Undeploy All");
for (AppEntry appentry : _apps)
{
requestAppGoal(appentry,"undeployed");
diff --git a/jetty-proxy/src/main/java/org/eclipse/jetty/proxy/ProxyServlet.java b/jetty-proxy/src/main/java/org/eclipse/jetty/proxy/ProxyServlet.java
index d4d7742d4f..b39f3af18b 100644
--- a/jetty-proxy/src/main/java/org/eclipse/jetty/proxy/ProxyServlet.java
+++ b/jetty-proxy/src/main/java/org/eclipse/jetty/proxy/ProxyServlet.java
@@ -604,7 +604,7 @@ public class ProxyServlet extends HttpServlet
if (!_prefix.startsWith("/"))
throw new UnavailableException("Init parameter 'prefix' parameter must start with a '/'.");
- _log.info(config.getServletName() + " @ " + _prefix + " to " + _proxyTo);
+ _log.debug(config.getServletName() + " @ " + _prefix + " to " + _proxyTo);
}
@Override
diff --git a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java
index eb062db346..a5053ed77c 100644
--- a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java
+++ b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java
@@ -459,7 +459,7 @@ public class WebInfConfiguration extends AbstractConfiguration
if (web_app.getFile()!=null && web_app.getFile().isDirectory())
{
// Copy directory
- LOG.info("Copy " + web_app + " to " + extractedWebAppDir);
+ LOG.debug("Copy " + web_app + " to " + extractedWebAppDir);
web_app.copyTo(extractedWebAppDir);
}
else
@@ -473,7 +473,7 @@ public class WebInfConfiguration extends AbstractConfiguration
//it hasn't been extracted before so extract it
extractionLock.createNewFile();
extractedWebAppDir.mkdir();
- LOG.info("Extract " + web_app + " to " + extractedWebAppDir);
+ LOG.debug("Extract " + web_app + " to " + extractedWebAppDir);
Resource jar_web_app = JarResource.newJarResource(web_app);
jar_web_app.copyTo(extractedWebAppDir);
extractionLock.delete();
@@ -486,7 +486,7 @@ public class WebInfConfiguration extends AbstractConfiguration
extractionLock.createNewFile();
IO.delete(extractedWebAppDir);
extractedWebAppDir.mkdir();
- LOG.info("Extract " + web_app + " to " + extractedWebAppDir);
+ LOG.debug("Extract " + web_app + " to " + extractedWebAppDir);
Resource jar_web_app = JarResource.newJarResource(web_app);
jar_web_app.copyTo(extractedWebAppDir);
extractionLock.delete();
@@ -530,7 +530,7 @@ public class WebInfConfiguration extends AbstractConfiguration
IO.delete(webInfLibDir);
webInfLibDir.mkdir();
- LOG.info("Copying WEB-INF/lib " + web_inf_lib + " to " + webInfLibDir);
+ LOG.debug("Copying WEB-INF/lib " + web_inf_lib + " to " + webInfLibDir);
web_inf_lib.copyTo(webInfLibDir);
}
@@ -541,7 +541,7 @@ public class WebInfConfiguration extends AbstractConfiguration
if (webInfClassesDir.exists())
IO.delete(webInfClassesDir);
webInfClassesDir.mkdir();
- LOG.info("Copying WEB-INF/classes from "+web_inf_classes+" to "+webInfClassesDir.getAbsolutePath());
+ LOG.debug("Copying WEB-INF/classes from "+web_inf_classes+" to "+webInfClassesDir.getAbsolutePath());
web_inf_classes.copyTo(webInfClassesDir);
}

Back to the top