andykimpe / rpms / 389-ds-base

Forked from rpms/389-ds-base 5 months ago
Clone
dc8c34
From aafb589f016417103befc42578167c186e67370f Mon Sep 17 00:00:00 2001
dc8c34
From: Mark Reynolds <mreynolds@redhat.com>
dc8c34
Date: Wed, 14 Aug 2013 15:32:36 -0400
dc8c34
Subject: [PATCH 131/225] Ticket 47461 - logconv.pl - Use of comma-less
dc8c34
 variable list is deprecated
dc8c34
dc8c34
Description:  In newer versions of perl commas are needed to separate variables
dc8c34
              when "formatting" output.  Also fixed a typo.
dc8c34
dc8c34
https://fedorahosted.org/389/ticket/47461
dc8c34
dc8c34
Reviewed by: nhosoi(Thanks!)
dc8c34
(cherry picked from commit 7e9cae5fa2292168e88e87eee2f9249171a1e9d8)
dc8c34
(cherry picked from commit 3e7ee7ca886feb56b3b26df97882c40d81bfff55)
dc8c34
(cherry picked from commit ba61cebeb12b4d11706a80f746f2fd97f5b5f7f9)
dc8c34
(cherry picked from commit 6a127405861167de675aa4fd399b8f19a4aa7986)
dc8c34
---
dc8c34
 ldap/admin/src/logconv.pl | 30 +++++++++++++++---------------
dc8c34
 1 file changed, 15 insertions(+), 15 deletions(-)
dc8c34
dc8c34
diff --git a/ldap/admin/src/logconv.pl b/ldap/admin/src/logconv.pl
dc8c34
index efc5970..77088ff 100755
dc8c34
--- a/ldap/admin/src/logconv.pl
dc8c34
+++ b/ldap/admin/src/logconv.pl
dc8c34
@@ -594,7 +594,7 @@ print "Restarts:                     $serverRestartCount\n";
dc8c34
 print "Total Connections:            $connectionCount\n";
dc8c34
 print " - StartTLS Connections:      $startTLSCount\n";
dc8c34
 print " - LDAPS Connections:         $sslCount\n";
dc8c34
-print " - LDAPI Conections:          $ldapiCount\n";
dc8c34
+print " - LDAPI Connections:         $ldapiCount\n";
dc8c34
 print "Peak Concurrent Connections:  $maxsimConnection\n";
dc8c34
 print "Total Operations:             $allOps\n";
dc8c34
 print "Total Results:                $allResults\n";
dc8c34
@@ -614,20 +614,20 @@ $compareStat = sprintf "(%.2f/sec)  (%.2f/min)\n",$cmpCount/$totalTimeInSecs, $c
dc8c34
 $bindCountStat = sprintf "(%.2f/sec)  (%.2f/min)\n",$bindCount/$totalTimeInSecs, $bindCount/($totalTimeInSecs/60);
dc8c34
 
dc8c34
 format STDOUT =
dc8c34
-Searches:                     @<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<
dc8c34
-                              $srchCount,        $searchStat
dc8c34
-Modifications:                @<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<
dc8c34
-                              $modCount,           $modStat
dc8c34
-Adds:                         @<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<
dc8c34
-                              $addCount,           $addStat
dc8c34
-Deletes:                      @<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<
dc8c34
-                              $delCount,        $deleteStat
dc8c34
-Mod RDNs:                     @<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<
dc8c34
-                              $modrdnCount,        $modrdnStat
dc8c34
-Compares:                     @<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<
dc8c34
-                              $cmpCount,       $compareStat
dc8c34
-Binds:                        @<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<
dc8c34
-                              $bindCount           $bindCountStat
dc8c34
+Searches:                     @<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
dc8c34
+                              $srchCount,   $searchStat,
dc8c34
+Modifications:                @<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
dc8c34
+                              $modCount,    $modStat,
dc8c34
+Adds:                         @<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
dc8c34
+                              $addCount,    $addStat,
dc8c34
+Deletes:                      @<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
dc8c34
+                              $delCount,    $deleteStat,
dc8c34
+Mod RDNs:                     @<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
dc8c34
+                              $modrdnCount, $modrdnStat,
dc8c34
+Compares:                     @<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
dc8c34
+                              $cmpCount,    $compareStat,
dc8c34
+Binds:                        @<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
dc8c34
+                              $bindCount,   $bindCountStat,
dc8c34
 .
dc8c34
 write STDOUT;
dc8c34
 
dc8c34
-- 
dc8c34
1.8.1.4
dc8c34