Share via


Logging::SetupLogFile Method

The SetupLogFile method overrides the file-name and logging-level entries in logging.xml.

Syntax

public void SetupLogFile(
  String logFilePath,
  int loggingLevel
);
Public Sub SetupLogFile( _
  [ ByVal logFilePath As String ], _
  [ ByVal loggingLevel As Integer ] _
)
Implements Logging.SetupLogFile

Parameters

  • logFilePath
    [optional]

    The full path to the logging file. If this parameter is an empty String or null, the file-name entry from logging.xml is used.

  • loggingLevel
    [optional]

    The logging level below which messages are logged. This parameter overrides the value of the logging-level entry in logging.xml.

Return Value

This method does not return a value.

Requirements

Product ILM 2007 FP1
Namespace Microsoft.MetadirectoryServices.Logging
Assembly Logging (Logging.dll)
.NET Framework .NET Framework 2.0

See Also

Logging

Send comments about this topic to Microsoft

Build date: 2/16/2009