> ## Documentation Index
> Fetch the complete documentation index at: https://kb.hosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Viewing the error log in cPanel

> Discover how to view cPanel error logs to detect suspicious activity like virus infections or unauthorized access, plus find related topics.

The error log in cPanel shows HTTP errors that occur when visitors try to view your site. These errors may be related to requested files that were not found, permission settings, and so on. The error log in cPanel shows the last 300 entries from your web site's error log.

You can use this tool to detect suspicious activity, such as a possible virus infection or an unauthorized access attempt. If you need further assistance, please open a support ticket on the Hosting Panel at [https://my.hosting.com](https://my.hosting.com).

## Viewing the error log

To view the error log in cPanel, follow these steps:

1. Log in to cPanel.
   > 📘 Note
   >
   > If you do not know how to log in to your cPanel account, please see [this article](/docs/accessing-cpanel).

2. On the **Tools** page, in the **Metrics** section, click **Errors**:\
   ![](https://static.hosting.com/kb/kb-cpanel-jupiter-metrics-errors-icon.png)

   > 📘 Note
   >
   > Entries appear in reverse chronological order.

## Related articles

* [Log Programs](/docs/log-programs)

* [Raw Access Log](/docs/raw-access-log)

* [Latest Visitors, Bandwidth, and Resource Usage](/docs/latest-visitors-bandwidth-resource-usage)
