Hello
I have problem with logrotate because parameter rotate not working
config logrotate below:
/var/log/mongodb/* {
daily
missingok
notifempty
rotate 10
nocreate
}
and if I execute command: sudo logrotate -fv /etc/logrotate.d/mongodb, in path is above configuration logrotate
After execute command, logrotate created new file with log mongo but in file is all such as without rotate
why it works like that?