How to enable TRACE logging on the Web Player.

How to enable TRACE logging on the Web Player.

book

Article ID: KB0075536

calendar_today

Updated On:

Products Versions
Spotfire Web Player Tibco Spotfire Web Player version 10 and higher

Description

How to enable TRACE logging on an Web Player instance in the config file on the node manager. As of writing of this KB this is still not possible to do in the GUI.

Issue/Introduction

How to enable TRACE logging on the Web Player in the config file on the node manager.

Resolution

Since TRACE logging will add some load on the system, and create extensive logging, please try to minimize the time the log settings on the Web Player is set to TRACE.

You enable TRACE logging on the Web Player by enabling TRACE in the configuration file for the Web Player Service.

This is done by editing the file:
<Node Manager Installation Path>\nm\services\WebWorker-<WPID>\log4net.<WPInstanceID>.config

Where WPID = Web Player ID
WPInstanceID = Web Player Instance ID

These ID:s can be found here:
TIBCO Spotfire Server web admin interface > Nodes & Services.

Find the 'root' attribute and change 'level' to TRACE
<root>
  [...]
  <level value="TRACE" />

Immediately when this config file is saved, the log level will be changed.

Reproduce the issue and note the time. 

Don't forget to change the log level back to its previous level (most likely DEBUG) after you are done.