Removed some debug logging.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@435 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: Application.java,v 1.6 2001/11/06 20:16:47 mdb Exp $
|
||||
// $Id: Application.java,v 1.7 2001/11/06 20:55:51 mdb Exp $
|
||||
//
|
||||
// samskivert library - useful routines for java programs
|
||||
// Copyright (C) 2001 Michael Bayne
|
||||
@@ -80,18 +80,12 @@ public class Application
|
||||
// site-specific jar file path
|
||||
String siteJarPath = config.getInitParameter(SITE_JAR_PATH_KEY);
|
||||
if (!StringUtil.blank(siteJarPath)) {
|
||||
Log.info("Creating site resource loader " +
|
||||
"[siteJarPath=" + siteJarPath + "].");
|
||||
_siteLoader = new SiteResourceLoader(_siteIdent, siteJarPath);
|
||||
} else {
|
||||
Log.info("No site resource loader");
|
||||
}
|
||||
|
||||
// instantiate our message manager if the application wants one
|
||||
String bundlePath = config.getInitParameter(MESSAGE_BUNDLE_PATH_KEY);
|
||||
if (!StringUtil.blank(bundlePath)) {
|
||||
Log.info("Creating message manager " +
|
||||
"[bundlePath=" + bundlePath + "].");
|
||||
_msgmgr = new MessageManager(bundlePath);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: DispatcherServlet.java,v 1.10 2001/11/06 20:16:47 mdb Exp $
|
||||
// $Id: DispatcherServlet.java,v 1.11 2001/11/06 20:55:51 mdb Exp $
|
||||
//
|
||||
// samskivert library - useful routines for java programs
|
||||
// Copyright (C) 2001 Michael Bayne
|
||||
@@ -163,7 +163,6 @@ public class DispatcherServlet extends VelocityServlet
|
||||
// load up our application configuration
|
||||
try {
|
||||
String appcl = config.getInitParameter(APP_CLASS_KEY);
|
||||
Log.info("Creating application [class=" + appcl + "].");
|
||||
if (StringUtil.blank(appcl)) {
|
||||
_app = new Application();
|
||||
} else {
|
||||
@@ -199,7 +198,6 @@ public class DispatcherServlet extends VelocityServlet
|
||||
// path was provided
|
||||
SiteResourceLoader siteLoader = _app.getSiteResourceLoader();
|
||||
if (siteLoader != null) {
|
||||
Log.info("Wiring up site resource manager.");
|
||||
props.put(RuntimeSingleton.RESOURCE_MANAGER_CLASS,
|
||||
SiteResourceManager.class.getName());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user