It would help if i understood how log rotate works.