And for debug line ignore these lines

This commit is contained in:
Kovalkov Dmitrii 2020-01-23 16:37:45 +03:00
parent dc4aa248c8
commit e7609d7a91

View File

@ -1288,7 +1288,7 @@ sub log_file_recommendations {
while ( my $logLi = <$fh> ) {
chomp $logLi;
$numLi++;
debugprint "$numLi: $logLi" if $logLi =~ /warning|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