logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cyz <zhoup...@micron.com>
Subject RollingFileAppender
Date Fri, 14 Jan 2011 04:28:58 GMT

Hi, I'd like to have a logging system with below behaviors, is
RollingFileAppender able to achieve?
1> messages are logged to a fixed file name, say log.txt.
2> log files are auto backup by sizes. I.e. when log.txt hits the configured
size, it's renamed as logyyMMddHHmmss.txt, next message coming in will be
written to log.txt again.
3> there is no limit on how many files can be backup.

Thank you.
View this message in context: http://old.nabble.com/RollingFileAppender-tp30668883p30668883.html
Sent from the Log4net - Users mailing list archive at Nabble.com.

View raw message