How to manually set the logging level of the Node Manager to troubleshoot startup issues (version 7.8 or lower)

How to manually set the logging level of the Node Manager to troubleshoot startup issues (version 7.8 or lower)

book

Article ID: KB0083532

calendar_today

Updated On:

Products Versions
Spotfire Server 7.5, 7.6, 7.7, 7.8

Description

If the Node Manager does not connect to the Spotfire server, you cannot set the logging level via the the Administration UI. It needs to be set manually on the Node Manager.

Note: This article applies to versions 7.5 - 7.8. For version 7.9 or later, see article 000033503.

Issue/Introduction

How to manually set the logging level of the Node Manager to troubleshoot startup issues.

Environment

Spotfire Node Manager version 7.5-7.8.

Resolution

To manually enable debug logging on the Node Manager you need to:

  1. Open the file C:\tibco\tsnm\x.x.x\nm\config\nodemanager.properties in a text editor.
  2. If there is no "log4j.properties=" entries in the file, add "log4j.properties=WEB-INF/classes/log4j-debug.properties" to the end of the file. It needs to be added without quotes.
    • If there already exists an entry of "log4j.properties=", then edit the existing entry.
  3. Save the file.
  4. Restart the "Tibco Spotfire Node Manager" service.
 

To manually Trace debug logging on the Node Manager you need to:

  1. Open the file C:\tibco\tsnm\x.x.x\nm\config\nodemanager.properties in a text editor.
  2. If there is no "log4j.properties=" entry in the file, add "log4j.properties=WEB-INF/classes/log4j-trace.properties" to the end of the file. It needs to be added without quotes.
    • If there already exists an entry of "log4j.properties=" then  edit the existing entry.
  3. Save the file.
  4. Restart the "Tibco Spotfire Node Manager" service.