By default, the messages from the target system connectors are logged in the One Identity Manager Service's log file. External processes are logged in the StdioProcessor log file (StdioProcessor.log).
The connectors for Active Directory, Oracle E-Business Suite, HCL Domino, SAP R/3, and SCIM additionally log the following information for a message:
-
TargetSystem: Target system ID of the connector.
-
Method: Method that caused the logging to start.
-
Number: Unique error number.
-
Message: Error message.
Example: Target system connector messages
{ "Message": "Target:\"SCIM\" Method:\"OnConnect\" Number:\"2550101\" Message:\"Method OnConnect called.\"", "TargetSystem": "SCIM", "Method": "OnConnect", "Number": "2550101", "Message": "Method OnConnect called.", "SessionId": "SCIM-0B4926", "Parent": "Log Event: Logger='SystemConnector' Level=Debug Message='Connecting target system...' SequenceID=1213", "Indention": "\t" }
Individual process components have process tasks with parameters that supply extended return values (OUT).
The entire output of the parameter is written to the One Identity Manager Service log file when a error occurs. For example, the output text of the listed commands or programs can be returned when you run a command or a program using the CommandComponent process component.
To log return values
The CrashRecorder saves the previous 128 messages starting at Debug level and issues these in the error message window. You can configure the CrashRecorder in the One Identity Manager tools configuration files (appsettings.<appName>.json).
Table 23: CrashRecorder configuration settings
Enabled |
Enable (true) and disable (false) |
Buffer |
Specifies how many entries are saved and output.
Default: 128 entries. |
Level |
Severity level of entries to record. Permitted values are Debug, Error, Fatal, Info, Off, Trace, and Warn.
Default: Debug |
For an example configuration, see the appsettings.json configuration file in the One Identity Manager installation directory. For more information about appsettings.json configuration file, see the One Identity Manager Process Monitoring and Troubleshooting Guide.
Example: CrashRecorder configuration in the appsettings.json configuration file
{ |
"CrashRecorder": { |
"Enabled": "false", |
"Buffer": "128", // count of entries to buffer |
"Level": "Debug" // NLog.LogLevel e.g. Debug, Trace, Warn, Error |
} |
} |