TIBCO Spotfire® Server and Environment - Installation and Administration

Changing the logging level for a server or node that is not running

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.

Procedure

  1. 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.
  2. If the directory already contains a logging-levels.properties file, delete it.
  3. 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.
  4. Open the logging-levels.properties file in a text editor or an XML editor.
  5. In the 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:
    ActiveConfig=template name
    Example
    ActiveConfig=logging-debug.properties
  6. Save and close the logging-levels.properties file.
  7. Restart the Spotfire Server service or the Spotfire Node Manager service for the changes to take effect.

Results

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.