Error Log

I was wondering if I can simply delete the error log?

It seems to be getting bigger & bigger, I never look at it, and I never know what to do with it.

Deleting it seems like a suitable solution.

The reason why I ask is, I just don't want my site to stop working if it thinks a file is missing.

Quote · 27 May 2014

It will most likely create it again; so yes, you can delete it.  If the error log is growing huge, like 300 megs, then you should set a limit on the file size. 

Geeks, making the world a better place
Quote · 27 May 2014

I don't know how to do that.  Do you use a module for that?

Currently the file stands at 798,952,712.  Not sure if that's bytes or mega bytes.  Still large.

Quote · 27 May 2014

if you delete it will create a new one if it can't find it. (just back up just in case)
I did it thru webmin on my VPS.

Quote · 27 May 2014

I assume it will create a much smaller file?  Not another file of the same size.

Quote · 27 May 2014

You should probably check it or post the error here, so it doesn't keep growing. Delete it (as said above), and when it recreates, check the error message.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 27 May 2014

How about solving the errors?

EDIT: Same what Nathan Said Wink 

so much to do....
Quote · 27 May 2014

Not sure what error log you are referring too.  I have an error log that grows with errors about files don't exist with hackers looking for WordPress security flaws.  Of course I can not fix those errors  Cool

Geeks, making the world a better place
Quote · 27 May 2014

 

Not sure what error log you are referring too.  I have an error log that grows with errors about files don't exist with hackers looking for WordPress security flaws.  Of course I can not fix those errors  Cool

http://linuxcommand.org/man_pages/logrotate8.html working?

so much to do....
Quote · 27 May 2014

 

You should probably check it or post the error here, so it doesn't keep growing. Delete it (as said above), and when it recreates, check the error message.

 

I tried to look into it, but couldn't open up the file once I downloaded it.  I found another error file, that one is 34gig.  I may as well delete and try to view the errors when the files are tiny.

Quote · 28 May 2014

 

I tried to look into it, but couldn't open up the file once I downloaded it

save it as a txt file then you can read/open it.

the ext of the err log is your problem on win/mac machine

Quote · 28 May 2014

If you are on Linux just tell log rotate to gzip it every day and only keep 7 days of this file.

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 28 May 2014

when i download my error log, i rename it to a .txt extension and it will open in notepad. I delete mine frequently. To me, it makes no sense to keep a long error_log. I delete, then see if any new errors pop up and then fix those, and delete again. That way I do not end up with a long error_log file, and in the end, will eventually have a blank file as there won't be any errors to log.

caredesign.net
Quote · 28 May 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.