From 3c40ef909b40639c8e5219234285b906f19a8af2 Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Mon, 31 May 2010 13:06:56 +0000
Subject: [PATCH] Add support for displaying replication CSNs in the Access Logs. The default is disabled, but the log of replication CSNs can be activated by setting the log-changenumber property in the Replication domain configuration.

---
 opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/ReplicationDomainConfiguration.xml |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/ReplicationDomainConfiguration.xml b/opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/ReplicationDomainConfiguration.xml
index 32046e8..1bc7968 100644
--- a/opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/ReplicationDomainConfiguration.xml
+++ b/opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/ReplicationDomainConfiguration.xml
@@ -495,6 +495,28 @@
       </ldap:attribute>
     </adm:profile>
   </adm:property>
+    <adm:property name="log-changenumber" advanced="false">
+    <adm:synopsis>
+      Indicates if this server logs the ChangeNumber in access log.
+    </adm:synopsis>
+    <adm:description>
+      This boolean indicates if the domain should log the ChangeNumber 
+      of replicated operations in the access log.
+    </adm:description>
+    <adm:default-behavior>
+      <adm:defined>
+        <adm:value>false</adm:value>
+      </adm:defined>
+    </adm:default-behavior>
+    <adm:syntax>
+      <adm:boolean />
+    </adm:syntax>
+    <adm:profile name="ldap">
+      <ldap:attribute>
+        <ldap:name>ds-cfg-log-changenumber</ldap:name>
+      </ldap:attribute>
+    </adm:profile>
+  </adm:property>
   <adm:property name="initialization-window-size">
     <adm:synopsis>
       Specifies the window size that this Directory Server may use when

--
Gitblit v1.10.0