You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2006/11/08 16:42:42 UTC

svn commit: r472522 - /webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/SimpleAxis2Server.java

Author: dims
Date: Wed Nov  8 07:42:41 2006
New Revision: 472522

URL: http://svn.apache.org/viewvc?view=rev&rev=472522
Log:
switch from System.out.println to log.info/fatal

Modified:
    webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/SimpleAxis2Server.java

Modified: webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/SimpleAxis2Server.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/SimpleAxis2Server.java?view=diff&rev=472522&r1=472521&r2=472522
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/SimpleAxis2Server.java (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/SimpleAxis2Server.java Wed Nov  8 07:42:41 2006
@@ -69,10 +69,10 @@
 		CommandLineOption confOption = (CommandLineOption) optionsMap
 				.get("conf");
 
-		System.out.println("[SimpleAxisServer] Starting");
+		log.info("[SimpleAxisServer] Starting");
 		if (repoOption != null) {
 			repoLocation = repoOption.getOptionValue();
-			System.out.println("[SimpleAxisServer] Using the Axis2 Repository"
+			log.info("[SimpleAxisServer] Using the Axis2 Repository"
 					+ new File(repoLocation).getAbsolutePath());
 		}
 		if (confOption != null) {
@@ -89,10 +89,9 @@
 			ListenerManager listenerManager =  new ListenerManager();
 				listenerManager.init(configctx);
 			listenerManager.start();
-			System.out.println("[SimpleAxisServer] Started");
+			log.info("[SimpleAxisServer] Started");
 		} catch (Throwable t) {
-            log.fatal("Error starting SimpleAxisServer", t);
-            System.out.println("[SimpleAxisServer] Shutting down");
+            log.fatal("[SimpleAxisServer] Shutting down. Error starting SimpleAxisServer", t);
         }
     }
     



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org