How to let customer see their mod_security error logs in their cpanel error logs?


May 23, 2006
As fas as I understand, cpanel just grep the account user name and display the last 200 errors in cpanel's error logs. Since the full path and hence the account name is not included in mod_security error message logged to apache's error log, cpanel's error logs do not include mod_security error logs for a particular domain.

Would someone please kindly tell me how I can tell cpanel to also grep the hostname/domain name for the error logs? Some file(s) I can modify may be? Thanks in advance.