How to change the TIBCO Spotfire Server log files location

How to change the TIBCO Spotfire Server log files location

book

Article ID: KB0070997

calendar_today

Updated On:

Products Versions
Spotfire Server All

Description

This article describes steps to reconfigure the TIBCO Spotfire Server log file(s) location.

Issue/Introduction

How to change the TIBCO Spotfire Server log files location.

Resolution

You can change the default directory location for logs by changing a property setting in the log4j2-custom.xml file, located in <Spotfire Server Installation directory>\tomcat\spotfire-config.
  1. On the computer where Spotfire Server is installed, locate the file <Spotfire Server Installation directory>\tomcat\spotfire-config\log4j2-custom.xml.
  2. Locate and modify the following property:
<Property name="log.dir">logs</Property>

This property is relative to <Spotfire Server Installation directory>/tomcat unless the given value is an absolute path to an existing folder.
Note: If the specified path leads to either a non-existing or a non-writable folder outside of <Spotfire Server Installation directory>/tomcat, then the default log directory will be used instead.

Additional Information

Doc: Changing the default location of server logs, TIBCO Spotfire Server and Environment - Installation and Administration guide