 | 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
Syntaxpublic long ArchiveOldFileOnStartupAboveSize { get; set; }
Public Property ArchiveOldFileOnStartupAboveSize As Long
Get
Set
Dim instance As FileTarget
Dim value As Long
value = instance.ArchiveOldFileOnStartupAboveSize
instance.ArchiveOldFileOnStartupAboveSize = value
member ArchiveOldFileOnStartupAboveSize : int64 with 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