User Ratings
Rate This Project
Login To Rate This Project
Featured Reviews
Highest Rated
How can I set the size,Don't take effect size 10M
Lowest Rated
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)
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
- Previous
- You're on page 1
- Next