Convert log.info statements to log.debug statements.

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1423 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Jan Bartel 2010-03-30 18:05:16 +00:00
parent 4d399b7d07
commit f971ed42ee
4 changed files with 11 additions and 12 deletions

View File

@ -6,6 +6,7 @@ jetty-7.0.2.SNAPSHOT
+ 306880 Support for UPGRADE in HttpClient
+ 306884 Suspend with timeout <=0 never expires
+ 306782 httpbis interpretation of 100 continues. Body never skipped
+ Take excess logging statements out of startup
jetty-7.0.2.RC0
+ JSON parses NaN as null

View File

@ -91,7 +91,7 @@ public class MonitoredDirAppProvider extends AbstractLifeCycle implements AppPro
{
public void fileAdded(String filename) throws Exception
{
Log.debug("added ", filename);
if (Log.isDebugEnabled()) Log.debug("added ", filename);
addConfiguredContextApp(filename);
}
@ -99,14 +99,13 @@ public class MonitoredDirAppProvider extends AbstractLifeCycle implements AppPro
{
System.err.println("changed "+filename);
// TODO should this not be an add/remove?
Log.debug("changed ", filename);
if (Log.isDebugEnabled()) Log.debug("changed ", filename);
addConfiguredContextApp(filename);
}
public void fileRemoved(String filename) throws Exception
{
System.err.println("removed "+filename);
Log.debug("removed ", filename);
if (Log.isDebugEnabled()) Log.debug("removed ", filename);
// TODO: How to determine ID from filename that doesn't exist?
// TODO: we probably need a map from discovered filename to resulting App
@ -217,14 +216,13 @@ public class MonitoredDirAppProvider extends AbstractLifeCycle implements AppPro
@Override
protected void doStart() throws Exception
{
Log.info(this.getClass().getSimpleName() + ".doStart()");
if (_monitoredDir == null)
{
throw new IllegalStateException("No configuration dir specified");
}
File scandir = _monitoredDir.getFile();
Log.info("Deployment monitor " + scandir+ " at intervale "+_scanInterval);
Log.info("Deployment monitor " + scandir+ " at interval "+_scanInterval);
_scanner=new Scanner();
_scanner.setScanDirs(Collections.singletonList(scandir));
_scanner.setScanInterval(_scanInterval);

View File

@ -53,7 +53,7 @@ public abstract class ScanningAppProvider extends AbstractLifeCycle implements A
{
public void fileAdded(String filename) throws Exception
{
Log.debug("added ",filename);
if (Log.isDebugEnabled()) Log.debug("added ",filename);
App app = ScanningAppProvider.this.createApp(filename);
if (app != null)
{
@ -64,7 +64,7 @@ public abstract class ScanningAppProvider extends AbstractLifeCycle implements A
public void fileChanged(String filename) throws Exception
{
Log.debug("changed ",filename);
if (Log.isDebugEnabled()) Log.debug("changed ",filename);
App app = _appMap.remove(filename);
if (app != null)
{
@ -80,7 +80,7 @@ public abstract class ScanningAppProvider extends AbstractLifeCycle implements A
public void fileRemoved(String filename) throws Exception
{
Log.debug("removed ",filename);
if (Log.isDebugEnabled()) Log.debug("removed ",filename);
App app = _appMap.remove(filename);
if (app != null)
_deploymentManager.removeApp(app);
@ -118,14 +118,14 @@ public abstract class ScanningAppProvider extends AbstractLifeCycle implements A
@Override
protected void doStart() throws Exception
{
Log.info(this.getClass().getSimpleName() + ".doStart()");
if (Log.isDebugEnabled()) Log.debug(this.getClass().getSimpleName() + ".doStart()");
if (_monitoredDir == null)
{
throw new IllegalStateException("No configuration dir specified");
}
File scandir = _monitoredDir.getFile();
Log.info("Deployment monitor " + scandir + " at intervale " + _scanInterval);
Log.info("Deployment monitor " + scandir + " at interval " + _scanInterval);
_scanner = new Scanner();
_scanner.setScanDirs(Collections.singletonList(scandir));
_scanner.setScanInterval(_scanInterval);

View File

@ -1076,7 +1076,7 @@ public class ContextHandler extends ScopedHandler implements Attributes, Server.
getServer().getContainer().removeBean(old);
if (value!=null)
{
_logger.info("Managing "+name);
if (_logger.isDebugEnabled()) _logger.debug("Managing "+name);
getServer().getContainer().addBean(value);
}
}