You can trace the most recent 300 error message logs of your website via the cPanel. It is easier for you to check this since it contains the time, date, error message, visitor’s IP address, directory path, and domain name.
Here are the steps on how to view error logs:
Step 1. Log in to the cPanel using this link format: http://yourdomain.com/cpanel/
Replace yourdomain.com with the Main Domain Name connected to your hosting.
Step 2. Click Errors under Metrics panel.
Step 3. It will generate the Error logs for a few seconds, then Error page will display the recent website error log in reverse chronological order.
The error details, the interface includes entries in the /usr/local/apache/logs/suexec_log file and the /usr/local/apache/logs/error_log file. This displays the error log entries from your home directory and also displays /usr/local/apache/logs/suexec_log file entries which includes the username of your account.