Spotfire® Server and Environment - Installation and Administration

Changing the default location of server logs

You can change the default directory location for logs by changing a property setting in the log4j2-custom.xml file, located in <installation dir>\tomcat\spotfire-config.

Before you begin

You must have administrative privileges on the Spotfire Server.

Procedure

  1. On the computer where Spotfire Server is installed, locate the file <installation dir>\tomcat\spotfire-config\log4j2-custom.xml.
  2. Locate and modify the following property:
    <Property name="log.dir">logs</Property>
    This property is relative to <installation dir>/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 <install dir>/tomcat, then the default log directory will be used instead.