-
-
Notifications
You must be signed in to change notification settings - Fork 410
Open
Milestone
Description
Requested Feature
Sopel should clean up log files older than some default number of days, with a configuration option to override it.
Problems Solved
Our main Sopel instance started spitting out errors tonight when its jail ran out of disk quota. This feature would prevent similar issues from happening to other users who don't set up an external mechanism to prune logs.
Alternatives
As alluded to above, a cron job or other recurring task could take care of this—at the cost of extra effort from the bot owner.
Notes
The TimedRotatingFileHandler's backupCount option would be a simple way to implement this.
Reactions are currently unavailable