• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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