Chris Thorp - 2015-04-08

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