IdeaBlade.Core Assembly > IdeaBlade.Core.Configuration Namespace > LoggingElement Class : ArchiveLogs Property |
'Declaration
<DescriptionAttribute("Determines whether or not to rename (archive) old logs or just overwrite them")> <XmlAttributeAttribute("archiveLogs")> <DefaultValueAttribute()> Public Property ArchiveLogs As Boolean
'Usage
Dim instance As LoggingElement Dim value As Boolean instance.ArchiveLogs = value value = instance.ArchiveLogs
[Description("Determines whether or not to rename (archive) old logs or just overwrite them")] [XmlAttribute("archiveLogs")] [DefaultValue()] public bool ArchiveLogs {get; set;}
false
then the previous log file is overwritten.
Archive file names consist of the base log file name + ".bak" + timestamp.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2