Logwot8 is a Logrotate implementation for Windows systems. It is a packaging of Logrotate, Cygwin and a collection of related tools to make it as a standalone log rotation solution for Windows systems.
The logrotate utility is designed to simplify the administration of log files on a system which generates a lot of log files. Logrotate allows for the automatic rotation compression, removal and mailing of log files. Logrotate can be set to handle a log file daily, weekly, monthly or when the log file gets to a certain size. Normally, Logrotate is run as a daily scheduled job. Cygwin is a Linux-like environment for Windows. It consists of a DLL (cygwin1.dll), which emulates substantial Linux API functionality, and a collection of tools.
Supported platforms : 2000/XP/2003/Vista/2008/7/2012/8.
Logwot8 is available as a zip file containing an installer. Simply unzip your downloaded copy and run the package "logwot8_x.x.x_Installer.exe" :
- Accept License agreement.
- Specify an installation location.
- Installation starts. By clicking 'Details' button, you can get more detailed information about installation. Check if everything seems ok.
You need to update the configuration file logwot8.cfg according to your needs, and customize the batch file logwot8.cmd:
- logwot8 installation directory
- logwot8 configuration file path
- logwot8 state file path
In addition, you need to replace the value smtp.server in the script bin/mail, which uses blat to implement a mailer functionality required by Logrotate.
Please consult html documentation available from the start menu for the powerful configuration options. Online documentation can also be found here.
When the batch file is configured according to your needs, it can be run as a scheduled task.
This package contains components with different terms of licensing:
|GPL v2 Source code for logrotate is available here.
|Cygwin and GNU Tools
|CYGWIN license (GPL) Source code for Cygwin and GNU Tools are available here.
| BSD two-sentence
This one is easy too:
- Remove installation directory and start menu items.
Let me emphasize that I play a very small role in this big game. I would like to thank to all people that make logrotate+cygwin a powerful and flexible log rotation solution for Windows systems.