I've had some problems the last weeks with my server, and for sure I did something to make the rotating not work anymore. Anyone here who might know how to debug and get the files in /var/log to rotate again? Strangely /var/log/apache2 and some other subdirectory logs are working fine! Thank you and stay safe!
It is logrotate that does the rotation. At least on my Debian OS, don't know what Operating System You have.
Yes. Should have mentioned it. Debian 10 here. And... It looks like it's working again. It must have been an ID 10 T error.. (read IDIOT)