ldap/admin/src/logconv.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ed870776b792297f780f63763004d862af4b3d43
Author: Mark Reynolds <mareynol(a)redhat.com>
Date: Wed Jan 18 11:09:35 2012 -0500
Ticket #177 - logconv.pl doesn't detect restarts
Bug Description: logconv.pl incorrectly checks for restarts by looking for
"conn=0 fd=".
Fix Description: Back in the iplanet days we used to start our connection count this
way
but this has been changed, and logconv.pl needs to check for
"conn=1 fd="
https://fedorahosted.org/389/ticket/177
diff --git a/ldap/admin/src/logconv.pl b/ldap/admin/src/logconv.pl
index 39c9d7c..cc2908e 100755
--- a/ldap/admin/src/logconv.pl
+++ b/ldap/admin/src/logconv.pl
@@ -1148,7 +1148,7 @@ if (m/ VLV /){
if (m/ SORT /){$sortvlv++}
if (m/ version=2/){$version2++}
if (m/ version=3/){$version3++}
-if (m/ conn=0 fd=/){$restarts++}
+if (m/ conn=1 fd=/){$restarts++}
if (m/ SSL connection from/){$sslconn++;}
if (m/ connection from/){
$exc = "no";