How do you trigger logrotate manually?

How do you trigger logrotate manually?
Answer
2 Answers. You can run logrotate
in debug mode which will tell you what it would do without actually making changes. Turns on debug mode and implies -v. In debug mode, no changes will be made to the logs or to the logrotate state file.
 

Tìm kiếm

Back
Top