Equivalent of LogRotate for Windows?

Solution 1:

I haven't used it yet, but LogRotateWin is a native implementation of logrotate for Windows that looks promising. At least it doesn't require Cygwin.

Solution 2:

As much as I wince at the suggestion, installing Cygwin is one of the very few options that you have available to you. From there, you can use logrotate.


Solution 3:

Have a look at logwot8, which is a packaging of logrotate, a limited shell environment and required cygwin layer components ready to work out of the box (4 MB installer size). You need to customize configuration file according to your reqiurements. It is free for use and distribution under 2-sentence BSD license.

Disclaimer: I am the developer :-)