Server logs provide a window into the inner workings of your website. With them you can learn about your visitors, fix technical issues, and track down security breaches. Almost every application that runs on a server produces some type of log, and even if you only have a shared web hosting account, you can still view some logs for your website. cPanel includes tools to make log monitoring easier for website administrators.
- Latest Visitors – Using the Latest Visitors tool, you can view information about the last 300 people who visited your site. It includes the IP address, URL visited, time, file size, referrer URL, and user agent.
- Bandwidth – This tool gives you information about how your site is using bandwidth. It includes graphs for daily bandwidth consumption and charts detailing bandwidth distribution.
- Webalizer/AWStats – Both of these tools display a multitude of statistical information about your site: the number of visitors, unique hosts, bytes served, most popular pages, countries of visitors, key search words, and more.
- Error Log – This displays the last 300 errors on your site in reverse order. The error information includes the time of the error, the IP address of the visitor, the error message, and the file the visitor was attempting to access.
- Raw Access Logs – If you want to see your log files in all of their unfiltered glory, click the Raw Access Logs button. It will send you a download compressed in gzip format.
For more information about each cPanel log tool, you can consult the online documentation.
Of course if you prefer to skip the documentation, you can always get a fully managed dedicated server instead.