Gets and sets the format used when updating the server log file.
Syntax
object.LogFormat [ = format ]
Remarks
The LogFormat property is used to specify the format of the
server log file. It may be one of the following values:
Value |
Description |
ftpLogNone |
This value specifies that the server should not create or
update a log file. This is the default property value. |
ftpLogCommon |
This value specifies that the log file should use the common
log format that records a subset of information in a fixed
format. This log format usually only provides information about
file transfers. |
ftpLogExtended |
This value specifies that the log file should use the
standard W3C extended log file format. This is an extensible
format that can provide additional information about the client
session. |
Data Type
Integer (Int32)
Example
' Enable server logging
FtpServer1.LogFile = "%ALLUSERSPROFILE%\MyProgram\Server.log"
FtpServer1.LogFormat = ftpLogExtended
FtpServer1.LogLevel = 5
See Also
LogFile Property,
LogLevel Property
|