Logging in Identity Manager
Identity Manager offers various possibilities of extended logging. These logs can be configured for each Identity Manager component.
Message Logging by NLog
Each Identity Manager component supports logging of messages via the integrated NLog functionality. For a detailed description and functionality of NLog please refer to the online help: NLog
In the configuration files of the Identity Manager components, the section "nlog" exists, in which the settings for logging via NLog are configured. The variable "appname" identifies the name of the Identity Manager passed component, e.g.:
The details for logging are defined in the global configuration file, globallog.config (in the 1IM installation directory, i.e. C:\Program Files\Dell\One Identity Manager). This file is referenced in the configuration files of the Identity Manager components.
In the default installation of Identity Manager the log files are saved in the directory:
(Where 'appName' is the name of the Identity Manager component and %LocalAppData% is for the account running the Dell One Identity Manager service.)
In the .log all messages are recorded with a minimum level of information "Info". The files are kept for 7 days and archived daily. In addition, all messages with the information level "Fatal" are recorded in the event log for the source One Identity Manager.
In the file globallog.config settings for logging messages via NLog are configured. The globallog.config is referenced in the configuration files of the Identity Manager components.
Important: The settings are global for all valid globallog.config Identity Manager components. To customize settings for individual components, use the application-specific configuration file * .exe.config.
Using variables the output path and the layout of the log files are set. In the section "targets" the expenditure targets for the messages are set. NLog already comes with predefined objectives, which you can use in the configuration file. The section "rules" governs how the logging of messages is defined, for example.
The variable 'appName' is defined in the configuration files of the Identity Manager components. An example of a globallog.config:
The type of information logged can be set via:
MinLevel = messages from this level of information are recorded.
level = messages with exactly this level of information are recorded.
Valid information levels:
|Trace||Very detailed information will be provided. This setting should only be used for analytical purposes.|
|Debug||For debugging issues. This setting should be used for testing purposes only.|
|Info||All information is recorded.|
|Warning||All warnings are recorded.|
|Error||All error messages are recorded.|
|Fatal||All critical error messages are recorded.|
Specifying the logger name determines which components of Identity Manager are recorded. The reports of all components are recorded with the default logger name ="*". To limit the records to a specific component, use the name in the log.
Component logger names:
|SqlLog||Recording of database queries.|
|ObjectLog||Records of object actions on the object layer.|
|JobGenLog||Records during the process generation.|
|SynLog||Recording of actions within synchronizations.|
|FrontendLog||Recording of actions in frontends.|
|WebLog||Recording of actions of web services.|
|StopWatch||Record time measurements.|
|Jobservice||Recording of messages from the Identity Manager Service.|