cpanel error log – find errors for a cpanel domain

How to find a specific domain error in cpanel

# grep domainname.com /usr/local/apache/logs/error_log