5.8 How to Enable TRACE Logging
3 апреля 2024 г.
9:49
- **Please note that the logging for version 8.2 has changed slightly.
To enable TRACE level logging:
**
1. Open the globallog.config file (located under C:\Program Files\One
Identity\One Identity Manager) in a text editor.
- Update as per the version:
***Version 8.2 and above (including 9.x):
***
The variable, "logFileLevel" is used. So only the value for the
variable needs to be updated from the variables section (line 5),
e.g.:
variable name="logFileLevel" value="Info" (default)
Change to:
variable name="logFileLevel" value="Trace"
As instructed by Support.
***Version 8.1.5 and below:
***
In the "rules" section change the following line from:
**logger name="*" minlevel="Info" writeTo="logfile"
**
To
**logger name="*" minlevel="Trace" writeTo="logfile"
**
So that the final result is:
**Click To See Full Image.
** Then save the change. This is sufficient to generate TRACE level logging in the required log files.Please note that log files are generated in specific locations!
** For example, the Job Service log will be created under the AppData** folder for the account under which the job service runs, e.g.:C:\Users\serviceaccount\AppData\Local\One Identity\One Identity Manager\JobService
Note that additional folders exist under \AppData\Local\One Identity\One Identity Manager for various components, most notably, StdioProcessor.
If logs for a front-end application, such as Manager or the Sync Editor, are required, these will exist in the AppData folder of the currently logged in Windows (Active Directory) user, e.g.:
C:\Users\jsmith\AppData\Local\One Identity\One Identity Manager\Manager
**Please note that If the One Identity Manager service is running as Local System the logs will be in one of the following locations:
** C:\Windows\System32\config\systemprofile\AppData\Local\One Identity\One Identity ManagerC:\Windows\SysWOW64\config\systemprofile\AppData\Local\One Identity\One Identity Manager
**Additional Logging
** Support may ask that additional logging be enabled. This requires that the following commented section be un-commented:Commented:
**Click To See Full Image.
Un-commented:**
**Click To See Full Image.
** With this logging option enabled additional logs are created under the "debug" folder (created automatically), e.g.:C:\Users\serviceaccount\AppData\Local\One Identity\One Identity Manager\JobService\debug
For more information about the logging options, please refer to the Process Monitoring and Troubleshooting Guide.
- Additional Information
Please Note: For any web application\web portal debug or trace logging, the same process can be applied in each web application's respective Nlog.config file, e,g.:
C:\inetpub\wwwroot\ApiServer\bin\Nlog.config
The logs will be created in:
C:\inetpub\wwwroot\ApiServer\App_Data\Logs
For more information on logging for IT Shop and web applications, please see How to Enable and Collect IT Shop Logs
From \<https://support.oneidentity.com/identity-manager/kb/4347342/how-to-enable-trace-logging>


