Add feature to limit number of rotated log files