401642 Less verbose INFOs

This commit is contained in:
Greg Wilkins 2013-02-25 14:42:30 +11:00
parent 859710c2c5
commit 2d310ac82e
4 changed files with 9 additions and 15 deletions

View File

@ -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);
}
/**

View File

@ -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");

View File

@ -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

View File

@ -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);
}