amoralej / rpms / 389-ds-base

Forked from rpms/389-ds-base 5 years ago
Clone

Blame SOURCES/0048-Ticket-47831-remove-debug-logging-from-retro-cl.patch

a2f18f
From 0e44c819b72dfad40a7f9eea6067f6060fa9c35b Mon Sep 17 00:00:00 2001
b161c9
From: Mark Reynolds <mreynolds@redhat.com>
b161c9
Date: Wed, 19 Aug 2015 10:03:50 -0400
a2f18f
Subject: [PATCH] Ticket 47831 - remove debug logging from retro cl
b161c9
b161c9
Description:  Instrumented debug logging was accidentally left in the source.
b161c9
              This logging is being removed.
b161c9
b161c9
https://fedorahosted.org/389/ticket/47931
b161c9
b161c9
Reviewed by: mreynolds
b161c9
b161c9
(cherry picked from commit db7153f89bf3dda935e6ef4f175697bda32fe720)
b161c9
(cherry picked from commit 1781280f133c4877f83949400294641a558f5406)
b161c9
---
b161c9
 ldap/servers/plugins/retrocl/retrocl_po.c | 3 ---
b161c9
 1 file changed, 3 deletions(-)
b161c9
b161c9
diff --git a/ldap/servers/plugins/retrocl/retrocl_po.c b/ldap/servers/plugins/retrocl/retrocl_po.c
a2f18f
index f689373..d9f4e6d 100644
b161c9
--- a/ldap/servers/plugins/retrocl/retrocl_po.c
b161c9
+++ b/ldap/servers/plugins/retrocl/retrocl_po.c
a2f18f
@@ -157,14 +157,11 @@ write_replog_db(
b161c9
     int	err = 0;
b161c9
     int ret = LDAP_SUCCESS;
b161c9
     int	i;
b161c9
-    int mark = 0;
b161c9
 
b161c9
     if (!dn) {
b161c9
         slapi_log_error( SLAPI_LOG_PLUGIN, RETROCL_PLUGIN_NAME, "write_replog_db: NULL dn\n");
b161c9
         return ret;
b161c9
     }
b161c9
-    mark = (post_entry && retrocl_entry_in_scope(post_entry));
b161c9
-    slapi_log_error( SLAPI_LOG_FATAL, RETROCL_PLUGIN_NAME, "post in scope (%d)\n",mark);
b161c9
 
b161c9
     if (post_entry){
b161c9
         if(!retrocl_entry_in_scope(log_e) && !retrocl_entry_in_scope(post_entry)){
b161c9
-- 
b161c9
1.9.3
b161c9