- Server operating system version
- Alma 8
- Plesk version and microupdate number
- 18.0.68 #2
In a subscription /logs/access_ssl_log.webstat has grown to a large size where the nightly AWStats maintenance starts hanging. The only solution we could find was to remove the access_ssl_log.webstat file so that further processing by AWStats is done with a much smaller file. As AWStats stores processed statistics in a separate file, the .webstat log file could be removed (or rotated) without consequences.
So we rotated it. But on the next day, the original access_ssl_log.webstat file is restored and continued with current data. Where does it come from?
I already checked whether it is a hard or soft linked file from /var/www/vhosts/system/*domain*/logs, but could not find it there.
Where does the system take the copy from to restore the file to /var/www/vhosts/*domain*/logs if not from the system directory? How can the file be rotated properly?
So we rotated it. But on the next day, the original access_ssl_log.webstat file is restored and continued with current data. Where does it come from?
I already checked whether it is a hard or soft linked file from /var/www/vhosts/system/*domain*/logs, but could not find it there.
Where does the system take the copy from to restore the file to /var/www/vhosts/*domain*/logs if not from the system directory? How can the file be rotated properly?