Logging.Directory Property

The Logging.Directory property returns or sets a String of the directory into which the server will log.

Syntax

Logging.Directory( LogFileDir )

Parameters

LogFileDir

The directory in to which log files are saved to.

Example

The following code displays the current server-side logging directory (if it is enabled.)

Sub displayLoggingDirectory(server As String)
    Dim logging As IMSrvLogging
    
    MediaServer1.SetServer server
    
    Set logging = MediaServer1.logging
    
    If (logging.Enabled) Then
        MsgBox logging.Directory
    End If
End Sub
© 1996-1998 Microsoft Corporation. All rights reserved.