Merge pull request #473 from unreturned/fix_471

Possible fix for #471
This commit is contained in:
Jean-Marie Renouard 2020-01-23 18:23:19 +01:00 committed by GitHub
commit 094f16f67c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1288,8 +1288,8 @@ sub log_file_recommendations {
while ( my $logLi = <$fh> ) {
chomp $logLi;
$numLi++;
debugprint "$numLi: $logLi" if $logLi =~ /warning|error/i;
$nbErrLog++ if $logLi =~ /error/i;
debugprint "$numLi: $logLi" if $logLi =~ /warning|error/i and $logLi !~ /Logging to/;
$nbErrLog++ if $logLi =~ /error/i and $logLi !~ /Logging to/;
$nbWarnLog++ if $logLi =~ /warning/i;
push @lastShutdowns, $logLi
if $logLi =~ /Shutdown complete/ and $logLi !~ /Innodb/i;