How domain's logfiles are rotated in Plesk for Linux




  • Avatar
    Steve Jeffery

    Having updated to Plesk Onyx 17.8.11 (Update 8 at the time of writing) this no longer seems to be the case. Comparing access_ssl_log.processed and access_ssl_log.webstat, the former is missing a lot of information which I believe would have been held in proxy_access_ssl but as that isn't rotated it's difficult to tell exactly.

    Comment actions Permalink
  • Avatar
    Taras Ermoshin

    @Steve Jeffery

    Here is how the logs files are processed during the statistics aspects of Plesk daily maintenance task:

    1. .webstat files are generated, and all processed data is moved to the .processed log files.
    2. Original log files are truncated, .processed and error logs are rotated.
    3. <...>
    4. Web statistics pages are generated based on the .webstat files, and .webstat files are cleared.

    On the example of proxy_access_ssl_log, during the daily task, the records from it are put into access_ssl_log.processed and then proxy_access_ssl_log is truncated, so all new records from it will be added to the access_ssl_log.processed file during the next run of the daily task.

    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request