Raw logs in web hosting refer to the unprocessed log files that provide detailed information about the server’s activities, including visitor traffic and server errors.
More About Raw Logs
Content: Includes access logs, error logs, and other diagnostic data.
Analysis: Can be analyzed to gain insights into website performance, user behavior, and security incidents.
Format: Often available in a standard, machine-readable format.
Access and Storage: Typically accessible via the hosting control panel, but can be large and consume significant storage space.
How to Check Raw Logs in cPanel
In cPanel, you can access and view raw logs for your website or server to review various types of data, such as website access logs, error logs, and more. Here’s how you can check raw logs in cPanel:
- Log in to cPanel:
- Open your web browser.
- Navigate to your cPanel login page, which is typically located at
https://yourdomain.com/cpanel
. Replace “yourdomain.com” with your actual domain name. - Log in with your cPanel username and password.
- Locate the “Logs” Section:
- Once logged in, you will see the cPanel dashboard. Scroll down or look for the “Metrics” section or the “Logs” section, depending on your cPanel theme.
- Access Raw Logs:
- In the “Logs” section, you will find various log-related options. To access raw logs, click on the “Raw Access Logs” or “Raw Logs” option. The specific wording may vary depending on your cPanel version.
- Choose the Domain or Logs to View:
- On the “Raw Access Logs” page, you’ll typically see a list of your domains and subdomains.
- Select the domain for which you want to view the raw logs. You can click on the domain name.
- Download the Raw Log File:
- After selecting the domain, you’ll be presented with a list of log files for that domain, including access logs and error logs.
- To view or download a log file, simply click on the filename. Most browsers will either display the log file content directly or prompt you to download it to your computer.
- Use a Text Editor to Read Logs:
- Once you have downloaded the log file, you can open it using a text editor like Notepad (Windows), TextEdit (macOS), or a code editor like Visual Studio Code or Sublime Text.
- The raw logs will contain detailed information about website access, including IP addresses, URLs, HTTP status codes, and more.
- Analyze the Logs:
- Review the log data to gather information about your website’s traffic, potential issues, or other relevant data.
- Download Logs Periodically:
- It’s a good practice to download and analyze your logs periodically to monitor your website’s performance, security, and potential issues.
Please note that the specific steps and options may vary slightly depending on your hosting provider’s cPanel configuration and version. If you have trouble finding the raw logs or need assistance with log analysis, consider reaching out to your hosting provider’s support team for guidance.