User: jules
Date: 00/12/12 14:02:22
Modified: jetty/src/main/org/jboss/jetty JettyService.java
Log:
Tidy up log messages a bit
Revision Changes Path
1.6 +6 -5 contrib/jetty/src/main/org/jboss/jetty/JettyService.java
Index: JettyService.java
===================================================================
RCS file:
/products/cvs/ejboss/contrib/jetty/src/main/org/jboss/jetty/JettyService.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- JettyService.java 2000/12/11 20:01:48 1.5
+++ JettyService.java 2000/12/12 22:02:21 1.6
@@ -31,7 +31,7 @@
*
* @see <related>
* @author <a href="mailto:[EMAIL PROTECTED]">Julian Gosnell</a>
- * @version $Revision: 1.5 $
+ * @version $Revision: 1.6 $
*/
public class JettyService extends ServiceMBeanSupport
implements JettyServiceMBean, MBeanRegistration
@@ -187,6 +187,7 @@
ensureService(); // lazy construction
// should check whether already running ? TODO
_server.start();
+ Logger.log("Started successfully");
Log.unsetLog();
}
@@ -194,7 +195,7 @@
stopService()
{
// should check whether already stopped ? TODO
- Logger.log("Stopping- if using sun jdk 1.3 on linux, waits 1 minute for Sun bug
4386498... ");
+ Logger.log("Stopping: if using sun jdk 1.3 on linux, waits 1 minute for Sun bug
4386498... ");
try {_server.stop();} catch (Exception e) {e.printStackTrace();}
Logger.log("Stopped Successfully");
}
@@ -208,7 +209,7 @@
throws DeploymentException
{
Log.setLog(log);
- Logger.log("Deploying- context:"+path+" webapp:"+warUrl);
+ Logger.log("Deploying: context="+path+" webapp="+warUrl);
try
{
@@ -256,7 +257,7 @@
throws DeploymentException
{
Log.setLog(log);
- Logger.log("Undeploying- webapp:"+warUrl);
+ Logger.log("Undeploying: webapp="+warUrl);
try
{
@@ -315,7 +316,7 @@
setConfiguration(String configUrl)
{
Log.setLog(_log);
- Logger.log("Adding configuration- "+configUrl);
+ Logger.log("Adding configuration: URL="+configUrl);
_configs.addElement(configUrl);
Logger.log("Added successfully");
Log.unsetLog();