Summary
When troubleshooting LDAP synchronization, it is sometimes necessary to look at a trace log file to see what is going on. This article describes how to manually start an LDAP synchronization and how to capture the sync in a separate trace log file.
Solution
To set the logging level of the tools.log log file:
- Open file <Spotfire-Server-home>\tomcat\spotfire-config\log4j2-tools.xml.
- Change <Logger name="com.spotfire" level="WARN" additivity="false"> at the bottom of the file, to <Logger name="com.spotfire" level="TRACE" additivity="false">
- Save the file.
- Now you need to start an LDAP sync manually, so that you can capture a trace log file.
- Go into <Spotfire-Server-home>\tomcat\logs\ folder and move (or delete) file named "tools.log".
Open a command prompt, cd into <Spotfire-Server-home>\tomcat\spotfire-bin\ and run:
config.bat list-users -f- Specify the tool password when prompted.
Wait until the config.bat command finishes successfully, or until it fails. Once the command has finished you'll have a trace log of the whole LDAP sync captured in the tools.log file.
Comments
0 comments
Article is closed for comments.