Click or drag to resize

FileTargetMaxArchiveFiles Property

Gets or sets the maximum number of archive files that should be kept. Negative means disabled.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public int MaxArchiveFiles { get; set; }

Property Value

Type: Int32
Remarks
Default: -1
See Also