Author Topic: How to disable apache error_log in cwp?  (Read 3423 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to disable apache error_log in cwp?
« on: November 03, 2016, 10:44:14 AM »
How to disable apache error_log in cwp?
my server storage allways full in 1-2 weeks

Offline
*****
Re: How to disable apache error_log in cwp?
« Reply #1 on: November 03, 2016, 03:18:27 PM »
you can disable error log from /usr/local/apache/conf/httpd.conf

ErrorLog "logs/error_log" add # before it :
#ErrorLog "logs/error_log"

restart apache

Offline
*
Re: How to disable apache error_log in cwp?
« Reply #2 on: November 03, 2016, 05:09:21 PM »
allready tested in 2 week ago,still not effect bro,my server storage full in 1-2 week becaus error_log

Offline
*****
Re: How to disable apache error_log in cwp?
« Reply #3 on: November 11, 2016, 09:52:22 AM »
Hello,

did you think about fixing the errors instead disable the log?

Offline
*
Re: How to disable apache error_log in cwp?
« Reply #4 on: October 29, 2018, 09:34:31 PM »
/usr/local/apache/conf/httpd.conf

edit

#ErrorLog "logs/error_log"
ErrorLog /dev/null

Offline
*
Re: How to disable apache error_log in cwp?
« Reply #5 on: February 15, 2019, 10:50:55 AM »
In order to disable and turn off the Apache logging, just comment out the log lines in the Apache.