Products | Versions |
---|---|
Spotfire Server | 7.11, 7.12 |
In TIBCO Spotfire Server versions 7.11 and 7.12, if you change the SizeBasedTriggeringPolicy setting in the log4j2.xml configuration file from the location "<server-installation>tomcat\spotfire-config\log4j2.xml", the TIBCO Spotfire Server may may ignore reading this configuration file but instead reads the file from "<server installation>\tomcat\webapps\spotfire\WEB-INF\classes\log4j2.xml". Because of this, the logs file generated will be of the default size (20MB) instead of the manually configured option in "<server-installation>tomcat\spotfire-config\log4j2.xml". In general, no changes made in '<server-installation>tomcat\spotfire-config\log4j2.xml' are used.
The reason why it is picking the configuration file from a different location is that there is a defect in Spotfire dependency jar in versions 7.11 and 7.12 which is reading the log configuration from "<server installation>\tomcat\webapps\spotfire\WEB-INF\classes\".
log4j.configurationFile=../spotfire-config/log4j2.xml3. Restart TIBCO Spotfire Server service