I created new files in


how run an iteration of logrotate manually to check these?

  • 4
    Top google result of "run logrotate" -> stackoverflow.com/questions/2117771/… – TessellatingHeckler Dec 17 '15 at 20:08
  • This question is being voted for closure because the author has not performed a minimum amount of research into the question that is otherwise immediately solved by a basic search. In other words, ServerFault is not Google as a Service. – Wesley Dec 18 '15 at 1:16

Try with:

logrotate --force $CONFIG_FILE

or you can run it in verbose and force mode:

logrotate -vf /etc/logrotate.conf

You can run logrotate in debug mode which will tell you what it would do without actually making changes.

-d, --debug

Turns on debug mode and implies -v. In debug mode, no changes will be made to the logs or to the logrotate state file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.