Open a Log File

From Lunarpages Web Hosting Wiki
Jump to: navigation, search

First, login to your cPanel, and then go to the Logs section and click on the Raw Access Logs icon.

Cpanel new logs rawaccess.png

Configure Logs

You can turn on either of these features, click the Save button to apply any changes.

  • Archive Logs in your home directory at the end of each stats run (approximately every 24 hours)
  • Remove the previous month's archived logs from your home directory at the end of each month

Download Current Raw Access Logs

To download the Raw Access Logs, click on the domain name. That should bring up a "saving as..." dialog box. Select a location to save it to, and hit "Save". Now navigate yourself to that location you saved it and see if you can find the file.

Now you need to pull the zipped information out of the file. You can do that with many of the free unzipping programs out there today. Anything that can handle the .gzip format.

If you do not have one, you might try 7-Zip, a free archive utility for Windows:

Unzip it and put the file named "yourdomain.com" somewhere you can remember.

Now as a separate process, open up your basic text editor (like Windows Notepad). In there, go to File and then click Open. In the popup box you may have to switch it from searching for just .txt file to all files. This is usually located next to where you can type in the file name. Open the log file you downloaded from your hosting account.

You should also be able to drag the "yourdomain.com" file over and into the Notepad program. Left-click on the "yourdomain.com" file and drag it over to the Notepad window and then release.

Also, if you are looking for a free log analyzer, check out WebLog Expert Lite:

Share |
Want to read this in another language?