Control Web Panel

WebPanel => Apache => Topic started by: metrostudio on August 23, 2017, 12:21:40 AM

Title: How to disable suphp logs?
Post by: metrostudio 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?
Title: Re: How to disable suphp logs?
Post by: studio4host 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.