servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r606080 - /servicemix/smx4/runtime/trunk/gshell/gshell-core/src/main/java/org/apache/geronimo/gshell/spring/GShell.java
Date Fri, 21 Dec 2007 00:47:58 GMT
Author: gnodet
Date: Thu Dec 20 16:47:57 2007
New Revision: 606080

URL: http://svn.apache.org/viewvc?rev=606080&view=rev
Log:
Remove unneeded output on the console

Modified:
    servicemix/smx4/runtime/trunk/gshell/gshell-core/src/main/java/org/apache/geronimo/gshell/spring/GShell.java

Modified: servicemix/smx4/runtime/trunk/gshell/gshell-core/src/main/java/org/apache/geronimo/gshell/spring/GShell.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/runtime/trunk/gshell/gshell-core/src/main/java/org/apache/geronimo/gshell/spring/GShell.java?rev=606080&r1=606079&r2=606080&view=diff
==============================================================================
--- servicemix/smx4/runtime/trunk/gshell/gshell-core/src/main/java/org/apache/geronimo/gshell/spring/GShell.java
(original)
+++ servicemix/smx4/runtime/trunk/gshell/gshell-core/src/main/java/org/apache/geronimo/gshell/spring/GShell.java
Thu Dec 20 16:47:57 2007
@@ -138,7 +138,7 @@
     private void waitForFrameworkToStart() throws InterruptedException {
 		getBundleContext().addFrameworkListener(new FrameworkListener(){
 			public void frameworkEvent(FrameworkEvent event) {
-				System.out.println("Got event: "+event.getType());
+				log.debug("Got event: " + event.getType());
 				if( event.getType() == FrameworkEvent.STARTED ) {
 					frameworkStarted.countDown();
 				}
@@ -146,9 +146,9 @@
 		});
 
 		if( frameworkStarted.await(5, TimeUnit.SECONDS) ) {
-			System.out.println("System completed startup.");
+			log.info("System completed startup.");
 		} else {
-			System.out.println("System took too long startup... continuing");
+			log.warn("System took too long startup... continuing");
 		}
     }
 



Mime
View raw message