geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgenen...@apache.org
Subject svn commit: r471078 - in /geronimo/sandbox/gcache/server/src: main/java/org/apache/geronimo/gcache/transports/ main/java/org/apache/geronimo/gcache/transports/discovery/multicast/ test/java/org/apache/geronimo/gcache/server/
Date Sat, 04 Nov 2006 00:31:32 GMT
Author: jgenender
Date: Fri Nov  3 16:31:31 2006
New Revision: 471078

URL: http://svn.apache.org/viewvc?view=rev&rev=471078
Log:
Tidy up logging

Modified:
    geronimo/sandbox/gcache/server/src/main/java/org/apache/geronimo/gcache/transports/DiscoveryManager.java
    geronimo/sandbox/gcache/server/src/main/java/org/apache/geronimo/gcache/transports/discovery/multicast/MulticastDiscoveryAgent.java
    geronimo/sandbox/gcache/server/src/test/java/org/apache/geronimo/gcache/server/GCacheManagerTest.java

Modified: geronimo/sandbox/gcache/server/src/main/java/org/apache/geronimo/gcache/transports/DiscoveryManager.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gcache/server/src/main/java/org/apache/geronimo/gcache/transports/DiscoveryManager.java?view=diff&rev=471078&r1=471077&r2=471078
==============================================================================
--- geronimo/sandbox/gcache/server/src/main/java/org/apache/geronimo/gcache/transports/DiscoveryManager.java
(original)
+++ geronimo/sandbox/gcache/server/src/main/java/org/apache/geronimo/gcache/transports/DiscoveryManager.java
Fri Nov  3 16:31:31 2006
@@ -40,6 +40,9 @@
 
     public void onServiceAdd(DiscoveryCommand command) {
 
+        if (log.isDebugEnabled()){
+            log.debug("Adding node:" + command.getNodeName() + " registering " + command.getService());
+        }
         //Remove if it already exists
         onServiceRemove(command);
 

Modified: geronimo/sandbox/gcache/server/src/main/java/org/apache/geronimo/gcache/transports/discovery/multicast/MulticastDiscoveryAgent.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gcache/server/src/main/java/org/apache/geronimo/gcache/transports/discovery/multicast/MulticastDiscoveryAgent.java?view=diff&rev=471078&r1=471077&r2=471078
==============================================================================
--- geronimo/sandbox/gcache/server/src/main/java/org/apache/geronimo/gcache/transports/discovery/multicast/MulticastDiscoveryAgent.java
(original)
+++ geronimo/sandbox/gcache/server/src/main/java/org/apache/geronimo/gcache/transports/discovery/multicast/MulticastDiscoveryAgent.java
Fri Nov  3 16:31:31 2006
@@ -214,7 +214,7 @@
             runner.setDaemon(true);
             runner.start();
             
-            log.info("MulticastDiscoveryAgent started on " + discoveryURI.toString());
+            log.info("MulticastDiscoveryAgent started on " + discoveryURI.toString() + (selfService
== null ? "" : " service offered as " + selfService));
         }
     }
 

Modified: geronimo/sandbox/gcache/server/src/test/java/org/apache/geronimo/gcache/server/GCacheManagerTest.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gcache/server/src/test/java/org/apache/geronimo/gcache/server/GCacheManagerTest.java?view=diff&rev=471078&r1=471077&r2=471078
==============================================================================
--- geronimo/sandbox/gcache/server/src/test/java/org/apache/geronimo/gcache/server/GCacheManagerTest.java
(original)
+++ geronimo/sandbox/gcache/server/src/test/java/org/apache/geronimo/gcache/server/GCacheManagerTest.java
Fri Nov  3 16:31:31 2006
@@ -35,7 +35,7 @@
 import java.util.Map;
 
 /**
- * Test the GCache
+ * Test the GCachManager (the server) - no MessageAcks
  */
 public class GCacheManagerTest {
     GCacheManager mgr;



Mime
View raw message