Missing access log for virtual host on Plesk

Posted by Cummander Checkov on Super User See other posts from Super User or by Cummander Checkov
Published on 2012-09-20T14:42:32Z Indexed on 2012/09/20 15:41 UTC
Read the original article Hit count: 243

Filed under:
|
|
|

For some reason i don't understand, after creating a new virtual host / domain in Plesk a few months back, i cannot seem to find the access log.

I noticed this when running

/usr/local/psa/admin/sbin/statistics

The host in question is being scanned

Main HTML page is 'awstats.<hostname_masked>-http.html'.
Create/Update database for config "/opt/psa/etc/awstats/awstats.<hostname_masked>.com-https.conf" by AWStats version 6.95 (build 1.943)
From data in log file "-"...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
Jumped lines in file: 0
Parsed lines in file: 0
 Found 0 dropped records,
 Found 0 corrupted records,
 Found 0 old records,
 Found 0 new qualified records.

So basically no access logs have been parsed/found. I then went on to check if i could find the log myself.

I looked in

/var/www/vhosts/<hostname_masked>.com/statistics/logs

but all i find is

error_log

Does anybody know what is wrong here and perhaps how i could fix this?

Note: in the

<hostname_masked>.com/conf/

folder i keep a custom vhost.conf file, which however contains only some rewrite conditions plus a directory statement that contains php_admin_flag and php_admin_value settings. None of them are related to logging though.

© Super User or respective owner

Related posts about apache

Related posts about logging