Implemented limiting number of log files rotations