log4net RollingLogFileAppender: is this possible to set limit for TOTAL size of all log files?

2012-09-24 Thread KellyLynch
In my .NET application I use log4net with the following configuration: configuration configSections section name=log4net type=log4net.Config.Log4NetConfigurationSectionHandler, log4net / /configSections log4net appender name=RollingLogFileAppender

RE: log4net RollingLogFileAppender: is this possible to set limit for TOTAL size of all log files?

2012-09-24 Thread Dominik Psenner
Hi Kelly, Configured like this the total maximum size of all log files should be around 5MB * 10, which is somewhat like 50MB. Scaling either the size of a single logfile (maximumFileSize) or the number of logfiles (maxSizeRollBackups) by 2 should bring you to your 100MB, doesn't it? Cheers