Certbot seems to have logrotation set to rotate them daily and keep 100 logfiles. I would like to configure them to keep less files and rotate less often, but i cannot find a config in /etc/logrotate.d and /etc/letsencrypt does not have config files for logrotate either.
I guess its somewhere hidden inside a python logging module, but probably it should use the native logrotate. But for a start it would be nice to be able to configure it at all.
You can find the code in log.py. As far as I know, there’s no logrotate configuration.
If you’d like, you can file an issue on the same github repository (if there isn’t one already) or suggest improvements through a pull request The support forum probably isn’t the best place for this issue, unless you’d like to discuss it.
Patch the code yourself or make a suggesting to the development team to implement those features. As far as I know, the functionality is statically coded right now.