DevForce Help Reference
LogFile Property


Gets or sets the path and file name where the log file should be written.
Syntax
'Declaration
 
<DescriptionAttribute("Path and file name where log file should be written. If no path is provided the file will be written to the executable's directory ")>
<XmlAttributeAttribute("logFile")>
Public Property LogFile As String
'Usage
 
Dim instance As LoggingElement
Dim value As String
 
instance.LogFile = value
 
value = instance.LogFile
[Description("Path and file name where log file should be written. If no path is provided the file will be written to the executable's directory ")]
[XmlAttribute("logFile")]
public string LogFile {get; set;}
Remarks
If no path is provided the file will be written to the executable's directory, or if running under IIS the directory containing the web.config file. Relative paths are also supported. You can turn off creation of the log file altogether by setting the property value to an empty string.
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