Gets or sets the maximum size that the output file is allowed to reach before being rolled over to backup files.
The maximum size that the output file is allowed to reach before being rolled over to backup files.
This property allows you to specify the maximum size with the suffixes "KB", "MB" or "GB" so that the size is interpreted being expressed respectively in kilobytes, megabytes or gigabytes.
For example, the value "10KB" will be interpreted as 10240 bytes.
The default maximum file size is 10MB.
If you have the option to set the maximum file size programmatically consider using the MaxFileSize property instead as this allows you to set the size in bytes as a Int64.
RollingFileAppender Class | log4net.Appender Namespace