Spotfire® Server and Environment - Installation and Administration

Log4j2 configuration properties

In the log4j2-custom.xml, located in <installation dir>/tomcat/spotfire-config, there are a number of properties that control log file size and rollover.

Note: None of the following properties control Tomcat logs or the user action log.
Property Description
serverLogSizePolicy Controls the maximum size of server log files.
serverLogDefaultRollover Controls when server log files are rolled over; that is, this property controls the maximum number of server logs there can be before the log files are overwritten.
nonServerLogsSizePolicy Is similar to the serverLogSizePolicy property, but controls the other log files that are listed in Spotfire Server logs.
nonServerLogsDefaultRollover Is similar to the serverLogDefaultRollover property, but controls the other log files that are listed in Spotfire Server logs.
Note: The following properties control catalina.<date>.log and localhost.<date>.log .
Property Description
tomcatLogsSizePolicy Controls the maximum size of the log files in question.
tomcatLogsDefaultRollover Controls how many days the logs should be saved.