logrotate utility for Windows Platform - fails if filename prefix contains...
Implementation of logrotate utility for Windows Platform
Status: Beta
Brought to you by:
kennethsalter
Hi,
If the target filename for rotation contains a number i.e. "server1.out" then rotation will fail:
logrotate: Rotate will be simulated because Debug is true
logrotate: Exception: Input string was not in a correct format.
logrotate: StackTrace: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, Number
FormatInfo info, Boolean parseDecimal)
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)
regards,
Chris