cPanel: Locating access-Log file(s) in cPanel

When you would like Logaholic to Analyze your (raw) access-log files, 1st priority is: Activate Access log archiving.

Log into your cPanel environment.

On the Home page, navigate to Analysis and Log files and click on Raw Access Logs.

Select “Archive Logs in your home directory at the end of each stats run[ [every 24 hour(s)~]]” and click Save.

Your Access log files are now being archived every 24 hours. The next step is to direct Logaholic to the right location. Two options are available: use the folder that contains archived log files OR direct Logaholic to the live access log (mostly contains month to date data and is rotated end of the month).

Login to your Logaholic, select “Edit Profile of the appropriate website, select the “Data Collection” tab and choose Log File Analysis (Local) when Logaholic is on the same server as the Website you want to analyze. Log File Analysis (FTP) can be used when the website is hosted on another server (requires FTP account credentials, mostly the same as the credentials you use to access cPanel).

Use the following path in Logaholic to analyze the archived access-logs on the server (mostly 24 hours delay):

/home/account/logs/

*Replace accountname with your own details.

Do you require near live statistics and reporting; (<24 hours) use the live access-log located in the following path:

/home/accountname/access-logs/domain.com

*Replace accountname and domain.com with your own details.

Please note; You will be required to update Logaholic before the end of every natural day. When using the live access-log, you may want to set up Automatic updates with help of this Manual article.


In your Logaholic “Edit Profile” – “Data Collection” Tab – selecting “Log File Analysis” shows a settings page, below the word “Hint:” you’ll see the complete absolute path to the logaholic directory on your system.


DirectAdmin: Locating access-Log file(s) in DirectAdmin

DirectAdmin stores log files at the following location path:

/home/domains/domain.com/logs/

Here is how to point Logaholic to that location.

Login to your Logaholic, select “Edit Profile of the appropriate website, select the “Data Collection” tab and choose Log File Analysis (Local) when Logaholic is on the same server as the Website you want to analyze. Log File Analysis (FTP) can be used when the website is hosted on another server (requires FTP account credentials, mostly the same as the credentials you use to access DirectAdmin).

Use the following path:

/home/domains/domain.com/logs/

*Replace domain.com with your own domain name.

In your Logaholic “Edit Profile” – “Data Collection” Tab – selecting “Log File Analysis” shows a settings page, below the word “Hint:” you’ll see the complete absolute path to the logaholic directory on your system.


Plesk: Locating access-Log file(s) in Parallels Plesk

If you’re using Plesk as your hosting control panel, access to the access-log files can be tricky. Should the login name of 1 of your FTP accounts look something like this:’lfauWEBSPACE_ID’, where ‘u’ is single character and WEBSPACE_ID is the ID of your webspace, you may find your Access logs here:

/usr/local/pem/vhosts/WEBSPACE_ID/log

Should you not have a login looking like ‘lfauWEBSPACE_ID’ please contact your hosting provider and check if your account has sufficient user rights to to access the raw access-logs, at the same time ask your provider for the location of your raw access-logs. Consult the Plesk website for more information.

In your Logaholic “Edit Profile” – “Data Collection” Tab – selecting “Log File Analysis” shows a settings page, below the word “Hint:” you’ll see the complete absolute path to the logaholic directory on your system.