Click or drag to resize

FileTargetArchiveOldFileOnStartupAboveSize Property

Gets or sets a value of the file size threshold to archive old log file on startup.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public long ArchiveOldFileOnStartupAboveSize { get; set; }

Property Value

Type: Int64
Remarks
This option won't work if ArchiveOldFileOnStartup is set to false Default value is 0 which means that the file is archived as soon as archival on startup is enabled.
See Also