<title>The file named Errorlog is too large</title> The file named Errorlog is too large1Problem
One day, when I install ANDROID-SDK, I found so one error "NO space left on the device". That ' s very strange. Because I has allocated 50G to MNT. So I check My computer ' s files. Then I found the file,*errorlog.1*, which size is 35G. Then search. The errorlog.1 is the error log file of Apache. All Apache errors/diagnostic information or other errors found during serving requests is logged to the this file. So if you don something, it'll be larger and larger.
2Solution
Edit/etc/httpd/conf/httpd.conf
#ErrorLog "/var/log/httpd/error_log" #beforeErrorLog "|bin/rotatelogs/var/logs/errorlog.%y-%m-%d-%h_%m_%s 5M" #CustomLog "/var/log/httpd/access_log" common #beforeCustomLog "|bin/rotatelogs/var/log/httpd/access_log 86400 "Commoncustomlog" |bin/rotatelogs/var/log/httpd/access_log 5M "common
Author:mlhy
Created:2015-10-11 Day 13:41
Emacs 24.5.1 (ORG mode 8.2.10)
The file named Error_log is too large