RollingFileAppender MaxFileSize Property Apache log4net™ SDK Documentation
Gets or sets the maximum size that the output file is allowed to reach before being rolled over to backup files.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public long MaxFileSize { get; set; }

Property Value

Type: OnlineInt64
The maximum size in bytes that the output file is allowed to reach before being rolled over to backup files.
Remarks

This property is equivalent to MaximumFileSize except that it is required for differentiating the setter taking a OnlineInt64 argument from the setter taking a OnlineString argument.

The default maximum file size is 10MB (10*1024*1024).

See Also