cPanel overrides settings and keeps all logs under the ERROR section
-
Hi guys,
I’m using this essential plugin for all my sites without any issues.
I have a problem though with one specific cPanel account where I host some dev sites under subfolders (site1, site2, site3, etc).
My plugin’s config section has the usual pattern:
@ini_set('error_log', '/home/myaccount/public_html/mysites/site1/wp-content/elm-error-logs/php-errors.log');
Problem is, cPanel groups all logs of all those sites at same location (
/home/myaccount/logs/
), in a single file, and overrides my settings in config.php!They can also be accessed in cPanel’s Metrics section, under “Errors”.
Despite having them correctly set at config.php, the plugin’s log at Dashborad states this at bottom of list:
Log file: /home/myaccount/logs/mysites.php.error.log (5.23 KiB)
Problem is, all errors are logged under the same file and display, all mixed together, at all sites under same folder using this monitor…
Is there a way to override this and keep each log strictly for each sub-folder as it should be by default?
Thanks!
- The topic ‘cPanel overrides settings and keeps all logs under the ERROR section’ is closed to new replies.