Skip to content

Commit

Permalink
Ticket #177 - logconv.pl doesn't detect restarts
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mreynolds389 committed Jan 18, 2012
1 parent 184a57a commit ed87077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldap/admin/src/logconv.pl
Expand Up @@ -1148,7 +1148,7 @@ sub parseLine {
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";
Expand Down

0 comments on commit ed87077

Please sign in to comment.