This is a Windows implementation of the logrotate utility found in Linux platforms. The goal is to use the same command line parameters and files as the Linux version.
If you are going to give a negative rating, please take a little extra time and explain why. I want to improve the program as much as possible, but I need feedback. Thank you!
Source code is available on GitHub:
https://github.com/plecos/logrotatewin
Now available on Chef Supermarket:
https://supermarket.chef.io/cookbooks/windows_logrotate
Features
- Feature compatibility with the linux logrotate utility
Categories
Log RotationLicense
GNU General Public License version 3.0 (GPLv3)Follow LogRotateWin
Other Useful Business Software
Simplify IT and security with a single endpoint management platform
NinjaOne automates the hardest parts of IT, delivering visibility, security, and control over all endpoints for more than 20,000 customers.
The NinjaOne automated endpoint management platform is proven to increase productivity, reduce security risk, and lower costs for IT teams and managed service providers. The company seamlessly integrates with a wide range of IT and security technologies. NinjaOne is obsessed with customer success and provides free and unlimited onboarding, training, and support.
Rate This Project
Login To Rate This Project
User Reviews
-
Its serving my purpose of rotating Nginx logs on my windows servers, so thx.
-
Works on one computer, not on another. Both running Win7 prof. 64bit. Using the following config file: compress C:\sms.log { rotate 5 daily } I get: logrotate: Verbose option set to true logrotate: c:\Program Files (x86)\Logrotate\Content\logrotate.conf Adding to config files to process logrotate: Parsing configuraiton file c:\Program Files (x86)\Logrotate\Content\logrotate.conf logrotate: Processing new section logrotate: Processing C:\sms.log logrotate: Rotating file C:\sms.log logrotate: Exception: Input string was not in a correct format. logrotate: StackTrace: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parse Decimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at logrotate.Program.AgeOutRotatedFiles(logrotateconf lrc, FileInfo fi, String rotate_path) at logrotate.Program.RotateFile(logrotateconf lrc, FileInfo fi) at logrotate.Program.Main(String[] args)
-
How can I set the size,Don't take effect size 10M