I’m currently using Codeigniter as my default framework to create some my projects. But, when I uploaded the projects on my servers and after 3 three days the error log has achieved over 1 mb in my server. How can I ignore this error log? Does the error log caused by my server or codeigniter itself ?
Your help will be very appreciated.
Assuming this is the Codeigniter error logging you are referring to, check your
config.phpfor thelog_thresholdsetting and set it to0to disable error logging:I usually set it to
1, at least while in development. If you do enable error logging, you should read the error logs and correct the errors if possible, otherwise it is pointless.