mirror of
https://github.com/major/MySQLTuner-perl.git
synced 2024-09-21 07:47:08 +00:00
Ignore
200122 12:09:15 mysqld_safe Logging to '/var/log/mysql/error.log'. when we count errors in log
This commit is contained in:
parent
b5ffe58506
commit
dc4aa248c8
@ -1289,7 +1289,7 @@ sub log_file_recommendations {
|
||||
chomp $logLi;
|
||||
$numLi++;
|
||||
debugprint "$numLi: $logLi" if $logLi =~ /warning|error/i;
|
||||
$nbErrLog++ if $logLi =~ /error/i;
|
||||
$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;
|
||||
|
Loading…
Reference in New Issue
Block a user