Bug on log file calculation
This commit is contained in:
parent
f7699b4515
commit
7acf66f73c
1 changed files with 1 additions and 1 deletions
|
@ -1117,7 +1117,7 @@ sub log_file_recommandations {
|
||||||
badprint "Log file $myvar{'log_error'} is empty";
|
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";
|
goodprint "Log file $myvar{'log_error'} is smaller than 32 Mb";
|
||||||
} else {
|
} else {
|
||||||
badprint "Log file $myvar{'log_error'} is bigger than 32 Mb";
|
badprint "Log file $myvar{'log_error'} is bigger than 32 Mb";
|
||||||
|
|
Loading…
Reference in a new issue