When a server or node is not running, you can increase its logging level to capture more troubleshooting data.
About this task
Note: Best practice is to back up the existing logs and clear the logs folder before capturing the debug logs.
On the computer that is hosting the server or node whose logging level you want to change, navigate to the directory that contains the logging templates.
- For a Spotfire Server, the default location is server installation dir\tomcat\spotfire-config.
- For a node manager, the default location is node manager installation dir\nm\config\log-config.
- If the directory already contains a logging-levels.properties file, delete it.
- Make a copy of the logging template that you want to apply to the server or node, and name the copy "logging-levels.properties". The available templates are logging-debug.properties, logging-minimal.properties, and logging-trace.properties.
- Open the logging-levels.properties file in a text editor or an XML editor.
logging-levels.properties file, add the following line of code to the top of the file, replacing
template name with the name of the template file that you copied:
- Save and close the logging-levels.properties file.
- Restart the Spotfire Server service or the Spotfire Node Manager service for the changes to take effect.
The server or node captures the logging information that is indicated in the logging-levels.properties file.
Note: When the troubleshooting is completed, switch back to a lower logging level.