logrotate in Linux is to rotate, large number of logs are generated then it allows automatic rotation, compression and removal of logs.