And for debug line ignore these lines
This commit is contained in:
parent
dc4aa248c8
commit
e7609d7a91
1 changed files with 2 additions and 2 deletions
|
@ -1288,7 +1288,7 @@ sub log_file_recommendations {
|
||||||
while ( my $logLi = <$fh> ) {
|
while ( my $logLi = <$fh> ) {
|
||||||
chomp $logLi;
|
chomp $logLi;
|
||||||
$numLi++;
|
$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/;
|
$nbErrLog++ if $logLi =~ /error/i and $logLi !~ /Logging to/;
|
||||||
$nbWarnLog++ if $logLi =~ /warning/i;
|
$nbWarnLog++ if $logLi =~ /warning/i;
|
||||||
push @lastShutdowns, $logLi
|
push @lastShutdowns, $logLi
|
||||||
|
|
Loading…
Reference in a new issue