directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1152119 - /directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLog.java
Date Fri, 29 Jul 2011 06:31:05 GMT
Author: kayyagari
Date: Fri Jul 29 06:31:05 2011
New Revision: 1152119

URL: http://svn.apache.org/viewvc?rev=1152119&view=rev
Log:
o moved log statement to the finally called method

Modified:
    directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLog.java

Modified: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLog.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLog.java?rev=1152119&r1=1152118&r2=1152119&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLog.java
(original)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/replication/ReplicaEventLog.java
Fri Jul 29 06:31:05 2011
@@ -123,7 +123,6 @@ public class ReplicaEventLog
      */
     public void log( EventType event, Entry entry )
     {
-        LOG.debug( "logging entry with Dn {} with the event {}", entry.getDn(), event );
         log( new ReplicaEventMessage( event, entry ) );
     }
 
@@ -132,6 +131,8 @@ public class ReplicaEventLog
     {
         try
         {
+            LOG.debug( "logging entry with Dn {} with the event {}", message.getEntry().getDn(),
message.getEventType() );
+            
             ActiveMQObjectMessage ObjectMessage = ( ActiveMQObjectMessage ) amqSession.createObjectMessage();
             ObjectMessage.setObject( message );
             producer.send( ObjectMessage );



Mime
View raw message