Jump to content

Extremely Large error.log??


Jezza22

Recommended Posts

Hrmmm, you have a 10GB error log?

 

 

My suggestion is to find out what is causing the errors and stop it.

 

 

Other than that, you could try less detailed error reporting, or you could pipe the errors through a program like rotatelogs and split it every 20MB or something and gzip them.  (Or just do something with the files...  You get the point.)

On some installs, apache will keep building up a single error log file, reaching gigs in size.

 

You want to install "logrotate" (apt-get install logrotate etc...) if your on linux. It rotates the log files, gzips them and looks after them nicely.

 

-steve

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.