TIBCO Spotfire® Server and Environment - Installation and Administration

Upgrading custom-modified log4j.properties files

For Spotfire Server 7.9, the logging framework was upgraded from Log4j to Log4j2. If you used a custom-modified log4j.properties file in any Spotfire Server version between 7.5 and 7.8, you must manually add these modifications to the new log4j2.xml file to continue using the same logging properties.

About this task

Note that custom edits to the log4j2.xml file are intended for settings that are not available in the administrative interface, such as adding log appenders or changing the log size or rotation.

Procedure

  1. Open the log4j.properties file from your previous Spotfire Server installation.
  2. Open the new version of the following Spotfire Server file in an XML editor or a text editor: <new Spotfire Server installation dir>/tomcat/spotfire-config/log4j2.xml.
  3. Add the modifications from the old file to the new file, using the new, XML-based format. For full documentation of the new format, see https://logging.apache.org/log4j/2.x/manual/configuration.html.
  4. Save and close the file.
  5. Restart the server.