DevForce Help Reference
ArchiveLogs Property (LoggingElement)


Gets or sets whether to archive old log files.
Syntax
'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;}
Remarks
If false then the previous log file is overwritten.

Archive file names consist of the base log file name + ".bak" + timestamp.

Requirements

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

See Also

Reference

LoggingElement Class
LoggingElement Members

Send Feedback