s4-repl: add a debug to make it easier to monitor replication
authorAndrew Tridgell <tridge@samba.org>
Tue, 15 Sep 2009 16:23:14 +0000 (09:23 -0700)
committerAndrew Tridgell <tridge@samba.org>
Tue, 15 Sep 2009 21:52:00 +0000 (14:52 -0700)
source4/dsdb/repl/replicated_objects.c

index fb6d4c18ec1ee23f2b3e2b5f2eb3bda6dccadd08..2f4efc0fee947d019b954c81d096aa00658db7c0 100644 (file)
@@ -297,6 +297,11 @@ WERROR dsdb_extended_replicated_objects_commit(struct ldb_context *ldb,
                return WERR_FOOBAR;
        }
 
+       DEBUG(2,("Replicated %u objects (%u linked attributes) for %s\n",
+                out->num_objects, out->linked_attributes_count,
+                ldb_dn_get_linearized(out->partition_dn)));
+                
+
        if (_out) {
                *_out = out;
        } else {