RollingFileAppenderMaxFileSize 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: 2.0.8.0-.NET 4.0
Syntax

public long MaxFileSize { get; set; }

Property Value

Type: Int64
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 Int64 argument from the setter taking a String argument.

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

See Also

Reference