Disable error log file on cPanel

Nirjonadda

Well-Known Member
May 8, 2013
724
27
78
cPanel Access Level
Root Administrator
Hello

How can i disable this log ? " /usr/local/cpanel/logs/error_log" and " /usr/local/apache/logs/error_log" , I don't want to get this logs.

Thank you
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,215
363
Hello,

Is there a specific reason you prefer to disable these logs? Both logs are very important when troubleshooting issues related to Apache or cPanel/WHM. Is it due to a lack of available disk space?

Thank you.