Update of /var/cvs/src/org/mmbase/core/event
In directory james.mmbase.org:/tmp/cvs-serv26056

Modified Files:
      Tag: MMBase-1_8
        NodeEvent.java 
Log Message:
added some logging


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/core/event


Index: NodeEvent.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/core/event/NodeEvent.java,v
retrieving revision 1.27.2.2
retrieving revision 1.27.2.3
diff -u -b -r1.27.2.2 -r1.27.2.3
--- NodeEvent.java      6 Feb 2008 15:45:46 -0000       1.27.2.2
+++ NodeEvent.java      6 Feb 2008 16:53:50 -0000       1.27.2.3
@@ -24,7 +24,7 @@
  *
  * @author  Ernst Bunders
  * @since   MMBase-1.8
- * @version $Id: NodeEvent.java,v 1.27.2.2 2008/02/06 15:45:46 michiel Exp $
+ * @version $Id: NodeEvent.java,v 1.27.2.3 2008/02/06 16:53:50 michiel Exp $
  */
 public class NodeEvent extends Event {
 
@@ -238,6 +238,7 @@
 
     private void readObject(ObjectInputStream in) throws IOException, 
ClassNotFoundException {
         in.defaultReadObject();
+        log.debug("deserialized node event for " + nodeNumber);
         try {
             Object otype = oldValues.get("otype");
             if (otype == null) otype = newValues.get("otype");
@@ -260,7 +261,8 @@
                 } else {
                     log.service("No typecache?");
                 }
-
+            } else {
+                log.service("No otype found in " + newValues + " nor in " + 
oldValues + " from " + nodeNumber + " originating from " + getMachine());
             }
         } catch (Exception e) {
              log.error(e);
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to