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.
|
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 |
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.
|
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. |
I assume it will create a much smaller file? Not another file of the same size. |
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 |
How about solving the errors?
EDIT: Same what Nathan Said so much to do.... |
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 Geeks, making the world a better place |
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
http://linuxcommand.org/man_pages/logrotate8.html working?
so much to do.... |
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.
|
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
|
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 |
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 |