Product:TIBCO Spotfire Statistics Services
Versions:All Versions
Summary:
How to enable DEBUG logging in TIBCO Spotfire Statistics Services
Details:
When investigating issues with the TIBCO Spotfire Statistics Services (TSSS) server, it is often needed to enable DEBUG level logging in order to capture more information. This article explains how to enable DEBUG logging for the TIBCO Spotfire Statistics Services server.
Resolution:
In order to enable DEBUG logging on the TSSS server, perform the following steps:
1. For Standalone TSSS installation, go to /SPSERVER_HOME/conf folder.
For Clustered TSSS environment, go to /SPSERVER_SHARE/conf folder.
Where:
2. Edit the log4j2.xml file from conf folder and locate the section <Root level="<LOGLEVEL>"> (e.g. <Root level="INFO">) and set the level to DEBUG, then save the file.
3. Reproduce the error and capture the logs as mentioned in step 4 below.
4. Capture logs files :
- For standalone installation, send the logs located in the SPSERVER_HOME/tomcat/logs directory
- For Clustered installation , send logs from all Manager Nodes and all Worker Nodes from below mentioned paths.
<Worker node installation directory>\worker\logs
<Manager nodes installation directory>\tomcat\logs
Versions:All Versions
Summary:
How to enable DEBUG logging in TIBCO Spotfire Statistics Services
Details:
When investigating issues with the TIBCO Spotfire Statistics Services (TSSS) server, it is often needed to enable DEBUG level logging in order to capture more information. This article explains how to enable DEBUG logging for the TIBCO Spotfire Statistics Services server.
Resolution:
In order to enable DEBUG logging on the TSSS server, perform the following steps:
1. For Standalone TSSS installation, go to /SPSERVER_HOME/conf folder.
For Clustered TSSS environment, go to /SPSERVER_SHARE/conf folder.
Where:
- SPSERVER_HOME is the path of the standalone TSSS installation directory , and
- SPSERVER_SHARE is the path of the cluster share directory.
2. Edit the log4j2.xml file from conf folder and locate the section <Root level="<LOGLEVEL>"> (e.g. <Root level="INFO">) and set the level to DEBUG, then save the file.
<Root level="DEBUG">
3. Reproduce the error and capture the logs as mentioned in step 4 below.
4. Capture logs files :
- For standalone installation, send the logs located in the SPSERVER_HOME/tomcat/logs directory
- For Clustered installation , send logs from all Manager Nodes and all Worker Nodes from below mentioned paths.
<Worker node installation directory>\worker\logs
<Manager nodes installation directory>\tomcat\logs
NOTE : Enabling DEBUG logging is On-the-fly logging and does not require to restart TSSS. The server checks the file for changes every 10 seconds. If the file has changed, the server automatically begins using the updated configuration.
Comments
0 comments
Article is closed for comments.