A standalone Windows packaging of logrotate together with the Cygwin runtime. It rotates, compresses, removes and mails log files, so they don’t grow without limit.
- logrotate for rotation by time or size
- Compression and removal of old log files
- Blat for optional e-mail notification
- Cygwin runtime included
Requires 64-bit Windows 8.1 or later.
Download
| Version | File | Size | SHA256 | VirusTotal |
|---|---|---|---|---|
| 3.2.7 | logwot8_3.2.7_x64_free.zip | 6.60 MB | logwot8_3.2.7_x64_free.zip bb6b2176aefb86d2a98711f77c4dcbb47c9d9d83368cbe13618244ddc75d33de | VirusTotal |
All executables and libraries (*.exe, *.dll) are digitally signed by Itefix Software
Basic Usage
- Unzip the package into a folder you can write to. No installation is needed, and the folder can be moved later.
- Edit logwot8.conf in that folder to describe the logs to rotate. Windows paths are written the Cygwin way, so
C:\workbecomes/cygdrive/c/work:
compress
/cygdrive/c/work/logs/app.log {
rotate 5
daily
}
- Run logwot8.cmd.
- To rotate automatically, run logwot8.cmd from Windows Task Scheduler, at least as often as your shortest rotation interval.
logwot8.cmd writes etc\fstab for the current folder each time it runs. It warns that it is skipping the lock on its state file, so don’t let two runs overlap. After rotation, log files get the permissions inherited from their folder, so set any special permissions on the folder.
For e-mail notification, replace smtp.server in bin\mail with your mail server. All configuration options are described in doc\logrotate.html in the package folder.