directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r755332 - in /directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl: LdapProtocolDecoder.java SyncreplConfiguration.java
Date Tue, 17 Mar 2009 17:37:00 GMT
Author: kayyagari
Date: Tue Mar 17 17:36:59 2009
New Revision: 755332

URL: http://svn.apache.org/viewvc?rev=755332&view=rev
Log:
o changed the default sync mode to refreshAndPersist

Modified:
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapProtocolDecoder.java
    directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/SyncreplConfiguration.java

Modified: directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapProtocolDecoder.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapProtocolDecoder.java?rev=755332&r1=755331&r2=755332&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapProtocolDecoder.java
(original)
+++ directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/LdapProtocolDecoder.java
Tue Mar 17 17:36:59 2009
@@ -100,7 +100,11 @@
                     // Clean the container for the next decoding
                     ( ( LdapMessageContainer ) ldapMessageContainer).clean();
                     
-                    System.out.println( "Decoded message : " + message );
+                    if( IS_DEBUG )
+                    {
+//                        LOG.debug( "######################Decoded message : " + message
);
+//                        LOG.debug( "####################################################"
);
+                    }
                     
                     // Send back the message
                     out.write( message );

Modified: directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/SyncreplConfiguration.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/SyncreplConfiguration.java?rev=755332&r1=755331&r2=755332&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/SyncreplConfiguration.java
(original)
+++ directory/apacheds/branches/apacheds-replication/mitosis/src/main/java/org/apache/directory/mitosis/syncrepl/SyncreplConfiguration.java
Tue Mar 17 17:36:59 2009
@@ -43,7 +43,7 @@
     private String credentials;
 
     /** flag to represent refresh and persist or refreh only mode */
-    private boolean refreshPersist = false;
+    private boolean refreshPersist = true;
 
     /** time interval for successive sync requests */
     private long consumerInterval = 5 * 1000;



Mime
View raw message