From 7acf66f73ce427bf40e18fde75cf3895d733d415 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 2 Dec 2016 15:27:38 +0100 Subject: [PATCH] Bug on log file calculation --- mysqltuner.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysqltuner.pl b/mysqltuner.pl index 4cd2a7e..f72ff89 100755 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -1117,7 +1117,7 @@ sub log_file_recommandations { badprint "Log file $myvar{'log_error'} is empty"; } - if ( (stat $myvar{'log_error'})[7] < 2*1024*1024) { + if ( (stat $myvar{'log_error'})[7] < 32*1024*1024) { goodprint "Log file $myvar{'log_error'} is smaller than 32 Mb"; } else { badprint "Log file $myvar{'log_error'} is bigger than 32 Mb";