disable error_log file

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
bojans

disable error_log file

Post by bojans »

Hi!

I have problem with error_log file, because this file become very large file (687086 k). Can I some how disable entrys in this file? Can I simple remove this file?

Thanks!

Bojan
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: disable error_log file

Post by calguy1000 »

Yes, you can remove the file safely, it'll just get recreated as errors occur.

On unix systems we have logrotate, etc. to automatically zip/archive the file when it reaches a certain size, or every so often, and to only keep N copies of the file. 

You can disable error_log as well, but it's not advisable to do this, as it's one of the tools you need when diagnosing problems with modules, user defined tags, etc. 

I'd recommend you not shut it off.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
bojans

Re: disable error_log file

Post by bojans »

Thanks calguy1000 ! ;)
Locked

Return to “CMSMS Core”