• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

access_log

Cheech_Schneidi

New Pleskian
Hi,

i have Plesk 12 with Deb7 and Nginx but i can see that /var/www/vhosts/*/logs/domain.name/access_log will be still written but there is no log rotation.

So i found some logrotade.conf under /opt/psa/etc/ and logrotated.d but there are all for error logs also i found logs under /var/www/vhosts/system/logs/

but i still miss the config for logrotation for the access_log under /var/www/vhosts/customerdomain/logs/domainname/access_log

I hope someone can help the most KB i found are all for Plesk 11 or less.

THX
Cheech
 
If this was an upgraded instance of Plesk, have you tried first to turn off log rotate and then to turn it back on?
 
Just to cover your bases, have you also set log rotation parameters? (such as the actual period or size thresholds when logs should be rotated)
 
as you can read this is for Plesk11 i'm talking about Plesk 12 and is a complete different issue, i want to know who control the log file, which script is it.
 
You can try to debug it with

# export PLESK_DEBUG_LEVEL=4
# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php

Check output for possible errors and check size of access logs after that.
 
Hi,

no error messages and looks like a new file was created.

-rw-r--r-- 2 root root 0 Jan 16 11:23 access_log
-rw-r--r-- 2 root root 3,4M Jan 16 11:23 access_log.processed
-rw------- 1 root root 29K Jan 16 11:23 access_log.webstat
-rw-r--r-- 2 root root 0 Jan 16 11:23 access_ssl_log
-rw-r--r-- 2 root root 653K Jan 16 11:23 access_ssl_log.processed
-rw------- 1 root root 5,1K Jan 16 11:23 access_ssl_log.webstat

cya
Cheech
 
It seems that Daily Maintenance Script does not executed by cron schedule for some reason. Check that cron service is up and running at least.
 
all crons are running without any issue and this is still not way to find out which script/cron or what ever i writing in this file. i want to know which script is writing in here, that is my questions and not if it is working or not.
 
Back
Top