You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2007/12/21 01:47:58 UTC

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

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");
 		}
     }