I have logrotate running in an EC2 AWS machine rotating Apache logs. Once packed, Apache logs are saved into AWS S3 via s3fs. The problem is that I recently noticed that I didn't have logs rotated. In S3 I have old logs from day 48->60 but the 1->47 doesn't appear.
My question is: Where does logrotate save its own log? It's possible that I have some kind of problem with s3fs, but I need to know before I do anything. I tried to find somewhere the logs but I couldn't find it out.
Any idea?
-ddebug flag and the-fforce flag to see exactly what logrotate is attempting to do.-ddisables action but the printed messages will still claim they're changing things. – David Lord Jul 23 '15 at 03:44/usr/sbin/logrotate /etc/logrotate.conf, I'd add-vto see the detailed log. – Dennis Golomazov Nov 18 '19 at 13:25logrotate -dfvis most helpful. My command already had-s <statefile>on it, so I ended up usinglogrotate -dsfv <statefile>for debugging. – rinogo Sep 30 '20 at 19:27