Share via


IFsrmClassificationManager.Logging Property

 

Gets or sets the types of logging to perform when running the classification rules.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

int Logging { get; set; }
property int Logging {
    int get();
    void set(int value);
}
abstract Logging : int with get, set
Property Logging As Integer

Property Value

Type: System.Int32

Returns a Int32 containing the types of logging to perform when running the classification rules. For the available logging types, see the FsrmClassificationLoggingFlags enumeration.

Remarks

The log file for the FsrmClassificationLoggingFlags_ClassificationsInLogFile and FsrmClassificationLoggingFlags_ErrorsInLogFile logging options are stored in the reports directory. The name of the FsrmClassificationLoggingFlags_ClassificationsInLogFile log file is "ClassifierName-FsrmServerName(FQDN)-TimeStamp.xml". The log file contains one entry per property assignment to a specific file. Each log entry specifies the:

  1. File name (full path)

  2. Property

  3. Value assigned

  4. Rule applied

  5. Result (whether the classification succeeded)

The name of the FsrmClassificationLoggingFlags_ErrorsInLogFile log file is "ClassifierNameErrors-FQDNServerName-TimeStamp.xml". The log file contains one entry per error. Each log entry specifies the:

  1. Error code

  2. File name (full path)

  3. Property

  4. Rule applied

See Also

IFsrmClassificationManager2
FsrmClassificationManager
IFsrmClassificationManager Interface
Microsoft.Storage Namespace

Return to top