Author Topic: How to disable suphp logs?  (Read 77 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to disable suphp logs?
« on: August 23, 2017, 12:21:40 AM »
My server is a dedicated one however it is using a lot of disk speed because it is a hard disk and the sites have many accesses, so I was deactivating all the logs, but I can not in any way disable the Suphp logs in /usr/local/apache/logs/suphp.log, (even this file reaches GB size in a few days) does anyone know the procedure to disable these logs?

Offline
***
Re: How to disable suphp logs?
« Reply #1 on: August 25, 2017, 08:47:47 PM »
try to edit suphp configuration file

/usr/local/etc/suphp.conf:
logfile=/usr/local/apache/logs/suphp_log
loglevel=info


logfile:
  Specifies path to logfile. If not specified, the compile-time value is
  used.

loglevel:
  One of "info", "warn", "error", "none".
  Specifies messages of which classification should be logged.
  Defaults to "info".

so by this instructions you would need to replace "loglevel=info" to "loglevel=none" in the file /usr/local/etc/suphp.conf.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/