Trouble getting logs to autorotate with logrotate

Asked by Joseph Polanco on 2021-04-09

Ubuntu 20.04.2 LTS
Gnome 3.36.8

$ logrotate --version
logrotate 3.14.0

It's been impossible to get logs to rotate automatically once they reach a size of 125M. Here's the config file saved to /etc/logrotate.d:

/home/App/Logs/*.log
{
    missingok
    size 125M
    rotate 14
    create
}

What's missing?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Joseph Polanco
Solved:
Last query:
Last reply:

Can the logrotate process read and manipulate the files in the folder? Have you checked permissions? Why are you storing logs in your home when there is /var/log where you can store them...?