23.11.2014 Views

TIBCO Spotfire Server 3.2.2 - TIBCO Product Documentation

TIBCO Spotfire Server 3.2.2 - TIBCO Product Documentation

TIBCO Spotfire Server 3.2.2 - TIBCO Product Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Technical Reference<br />

• log4j-trace.properties - This <strong>Server</strong> Log will log extremely low-level debug<br />

information including all the debug information from log4j-debug.properties.<br />

• log4j-trace-soap.properties - This <strong>Server</strong> Log will log extremely low-level<br />

SOAP information including all the debug information from log4jtrace.properties.<br />

Note: If you wish to limit the number of choices of log configurations available in the<br />

<strong>Server</strong> Logs and Diagnostics tool, you can move or remove these files from the<br />

/tomcat/webapps/META-INF directory.<br />

Warning: Do not use the "Debug", "Debug with SOAP" "Trace" or "Trace with<br />

SOAP" modes for continuous server use, since doing so decreases the performance of<br />

the server, and also produces very large log files.<br />

If you want to configure the logs in other ways than the above options allow, you can<br />

create your own Log Configuration File using standard Log4j syntax (more<br />

information can be found at http://logging.apache.org/log4j/docs/<br />

documentation.html).<br />

Placing a new log4j configuration file with the name matching the pattern<br />

log4j*.properties in the /tomcat/webapps/META-INF<br />

directory, will cause it to appear in the drop-down list among the other Log<br />

Configuration Files and can thus be selected.<br />

Note: When you restart the server, the Log Configuration File will revert to the default<br />

selection. To set the default log level, see the instructions below.<br />

11.1.3 Changing the Default Log Level of the <strong>Spotfire</strong><br />

<strong>Server</strong><br />

To change the default log level of the <strong>Spotfire</strong> <strong>Server</strong>, you need to manually edit a<br />

configuration file located on each server.<br />

<br />

To Change the Default Log Level of the <strong>Spotfire</strong> <strong>Server</strong><br />

1 Open the file /tomcat/webapps/spotfire/WEB-INF/<br />

web.xml in a text or xml editor.<br />

2 Look for the param-name com.spotfire.logging.config.file.<br />

3 Change the param-name to one one of the log configuration files described above.<br />

4 Restart the <strong>Spotfire</strong> <strong>Server</strong>.<br />

To change the default log level of the Configuration Console, edit the file /tomcat/webapps/admin/WEB-INF/web.xml instead.<br />

To change the default log level of the <strong>Spotfire</strong> Controller, edit the file /tomcat/webapps/controller/WEB-INF/web.xml instead.<br />

132 (144) <strong>TIBCO</strong> <strong>Spotfire</strong>® <strong>Server</strong> <strong>3.2.2</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!