LogLevel Property  
 

Gets and sets the level of detail included in the server log file.

Syntax

object.LogLevel [ = level ]

Remarks

The LogLevel property is used to specify the level of detail that should generated in the log file. The minimum value is 1 and the maximum value is 10. If this parameter is zero, it is the same as specifying a log file format of ftpLogNone and will disable logging by the server

Data Type

Integer (Int32)

Example

' Enable server logging
FtpServer1.LogFile = "%ALLUSERSPROFILE%\MyProgram\Server.log"
FtpServer1.LogFormat = ftpLogExtended
FtpServer1.LogLevel = 5

See Also

LogFile Property, LogFormat Property