• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Log rotation for proxy_access_log?

H9k

Regular Pleskian
Hi there!
I just noticed that Plesk does not rotate the proxy_access_log and proxy_access_ssl_log files.
The logrotate.d files all look like so:

Code:
#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.
/var/www/vhosts/system/somedomain.tld/logs/*.processed {
        size=10485760
        rotate  10
        compress
        missingok
        copytruncate
}
/var/www/vhosts/system/somedomain.tld/logs/error_log {
        size=10485760
        rotate  10
        compress
        missingok
        copytruncate
}
/var/www/vhosts/system/somedomain.tld/logs/proxy_error_log {
        size=10485760
        rotate  10
        compress
        missingok
        copytruncate
}

How come proxy_access_log and proxy_access_ssl_log are missing? How can I have those added?
Running Onyx on Ubuntu 16.04.
 
Oh, how come I didn't find it :)
So that explains why my access_log sometimes contains stuff not in chronological order, I guess the merging is not 100% accurate but whatever.
Thanks!
 
Back
Top