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.
Property | Default | Description |
---|---|---|
log.dir
|
logs | Determines the directory where to save the logs. See also Changing the default location of server logs. |
serverLogSizePolicy
|
50MB | Controls the maximum size of server log files. |
serverLogDefaultRollover
|
39 | 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
|
10MB | Is similar to the
serverLogSizePolicy property, but controls the
other log files that are listed in
Spotfire Server logs.
|
nonServerLogsDefaultRollover
|
9 | Is similar to the
serverLogDefaultRollover property, but controls
the other log files that are listed in
Spotfire Server logs.
|
logReconfigurationInterval
|
30 | Controls the interval at which logs are reconfigured. |
Property | Default | Description |
---|---|---|
tomcatLogsSizePolicy
|
10MB | Controls the maximum size of the log files in question. |
tomcatLogsDefaultRollover
|
30d | Controls how many days the logs should be saved. |
Parent topic: Location of server logs