Added logrotation based on date.