Why does log rotation not work in Plesk?

Follow

Comments

2 comments

  • Avatar
    Esha Singh

    How do I know that `Daily Maintenance script` is working?

    my current log rotation configuration: http://prntscr.com/fspwvm

    Though I have set it to 3 kb the log file size is 3.9 GB.
    What am I missing?

    Thank you in advance :)

    0
    Comment actions Permalink
  • Avatar
    Bulat Tsydenov

    @Esha, There is a possibility that web statistics is not calculated for the domain and therefore log rotation does not take place. Please, try to run `/usr/local/psa/admin/bin/web_statistic_executor --calculate-domain example.com` specifying the domain in question, I think you will see exact error message why statistics is not calculated. Then, try to search for a KB article with a solution in our Help Centre.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request