• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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