User: jules_gosnell
Date: 02/02/19 16:15:36
Modified: jetty/src/main/org/jboss/jetty
JBossWebApplicationContext.java Jetty.java
JettyService.java
Log:
more log guarding/unguarding (DOH!)
Revision Changes Path
1.25 +3 -2
contrib/jetty/src/main/org/jboss/jetty/JBossWebApplicationContext.java
Index: JBossWebApplicationContext.java
===================================================================
RCS file:
/cvsroot/jboss/contrib/jetty/src/main/org/jboss/jetty/JBossWebApplicationContext.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- JBossWebApplicationContext.java 19 Feb 2002 23:22:32 -0000 1.24
+++ JBossWebApplicationContext.java 20 Feb 2002 00:15:35 -0000 1.25
@@ -5,7 +5,7 @@
* See terms of license at gnu.org.
*/
-// $Id: JBossWebApplicationContext.java,v 1.24 2002/02/19 23:22:32 jules_gosnell
Exp $
+// $Id: JBossWebApplicationContext.java,v 1.25 2002/02/20 00:15:35 jules_gosnell
Exp $
// A Jetty HttpServer with the interface expected by JBoss'
// J2EEDeployer...
@@ -201,7 +201,8 @@
_log.warn("unknown ClassLoader type ("+cl.getClass().getName()+") -
classpath may be incomplete");
}
- _log.info("default JSP CLASSPATH: "+classpath);
+ if (_log.isDebugEnabled())
+ _log.debug("JSP classpath: "+classpath);
return classpath;
}
1.38 +4 -3 contrib/jetty/src/main/org/jboss/jetty/Jetty.java
Index: Jetty.java
===================================================================
RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/jboss/jetty/Jetty.java,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- Jetty.java 19 Feb 2002 23:22:32 -0000 1.37
+++ Jetty.java 20 Feb 2002 00:15:35 -0000 1.38
@@ -5,7 +5,7 @@
* See terms of license at gnu.org.
*/
-// $Id: Jetty.java,v 1.37 2002/02/19 23:22:32 jules_gosnell Exp $
+// $Id: Jetty.java,v 1.38 2002/02/20 00:15:35 jules_gosnell Exp $
// A Jetty HttpServer with the interface expected by JBoss'
// J2EEDeployer...
@@ -35,7 +35,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">Julian Gosnell</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Andreas Schaefer</a>.
- * @version $Revision: 1.37 $
+ * @version $Revision: 1.38 $
*
* <p><b>Revisions:</b>
*
@@ -234,7 +234,8 @@
try
{
- _log.info("loading configuration: "+configUrl);
+ if (_log.isDebugEnabled())
+ _log.debug("loading configuration: "+configUrl);
configure(configUrl);
_log.debug("configuratin loaded");
_configuration=configUrl;
1.49 +6 -10 contrib/jetty/src/main/org/jboss/jetty/JettyService.java
Index: JettyService.java
===================================================================
RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/jboss/jetty/JettyService.java,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- JettyService.java 19 Feb 2002 23:22:32 -0000 1.48
+++ JettyService.java 20 Feb 2002 00:15:35 -0000 1.49
@@ -5,7 +5,7 @@
* See terms of license at gnu.org.
*/
-// $Id: JettyService.java,v 1.48 2002/02/19 23:22:32 jules_gosnell Exp $
+// $Id: JettyService.java,v 1.49 2002/02/20 00:15:35 jules_gosnell Exp $
//------------------------------------------------------------------------------
@@ -34,7 +34,7 @@
* A service to launch jetty from JMX.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Julian Gosnell</a>
- * @version $Revision: 1.48 $
+ * @version $Revision: 1.49 $
*/
public class JettyService
@@ -115,8 +115,7 @@
// why doesn't this work? - investigate...
// _jetty.setLogSink(logSink);
- if (_log.isDebugEnabled())
- _log.debug("connected JBoss and Jetty Log models");
+ _log.debug("connected JBoss and Jetty Log models");
}
/** the usual path separators we know */
@@ -139,8 +138,7 @@
_jetty=tmp; // now we are initialised.
- if (_log.isDebugEnabled())
- _log.debug("Instantiated and configured server");
+ _log.debug("Instantiated and configured server");
}
protected void
@@ -152,8 +150,7 @@
{
try
{
- if (_log.isDebugEnabled())
- _log.debug("MBean peers WILL be created for Jetty Contexts");
+ _log.debug("MBean peers WILL be created for Jetty Contexts");
_mbean = new JettyMBean(_jetty);
_debug = new CodeMBean();
@@ -169,8 +166,7 @@
}
else
{
- if (_log.isDebugEnabled())
- _log.debug("MBean peers WILL NOT be created for Jetty Contexts");
+ _log.debug("MBean peers WILL NOT be created for Jetty Contexts");
}
_jetty.setConfiguration(_configuration);
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development