logrorate fixes