The
Spotfire Statistics Services service generates logs containing information you can use to troubleshoot. You can set logging to different levels.
Spotfire Statistics Services uses log4j2 (
http://https://logging.apache.org/log4j/2.x/) as the primary logging mechanism for the service. The log files roll over, but by default only three are kept. (This default is configurable).
Note: Other log files in
SPSERVER_HOME/tomcat/logs occasionally generate
Spotfire Statistics Services-related information but, in general, most information is written to
<servicename>Server.log.
Prerequisites
You must have administrative access to the Spotfire Statistics Services installation to change the log level file.
Procedure
-
Browse to the directory
<SPSERVER_HOME>/conf.
For a cluster installation, navigate to
<SPSERVER_SHARE>/conf.
-
Using a text editor, open for editing the file
log4j2.xml.
-
Locate the section
<Root level="INFO">
-
Change the entry for
"INFO" to the level of logging needed.
Log Threshold |
Description |
"DEBUG" |
Troubleshoot or debug. |
"INFO" |
Determine only if the server is healthy and active. The default. |
"WARN" |
Determine only for a potential issue. |
"ERROR" |
Investigate only when an issue has occurred. |
"FATAL" |
Investigate only when a catastrophic event has occurred. |
Note: For assistance using any of the appenders, contact TIBCO Support.
Copyright © 2021. TIBCO Software Inc. All Rights Reserved.