Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
How to change the TIBCO Spotfire Server log files location?
Solution:
This KB Article describes steps to reconfigure the TIBCO Spotfire Server log file(s) location. Note: Take a backup of any of the below mentioned files before making any changes.
Follow the steps below to change the log file(s) location:
* Stop the Spotfire Server Service
* Open "<TSS installation folder>\tomcat\webapps\spotfire\WEB-INF\web.xml" file in a text editor. Search for "log.dir" string and Replace its <param-value> which currently will be "/../../logs" with the new location ( for Ex. C:\tibco\Logs). Save the file.
* Open "<TSS installation folder>\tomcat\conf\logging.properties" file in edit mode. Change the value of "1catalina.org.apache.juli.FileHandler.directory" from "${catalina.base}/logs" to new the location.
* Similarly change the value of "2localhost.org.apache.juli.FileHandler.directory" in the same file to the new location.
Note: Use forward slashes (/) instead of backward slashes (\). (For example, use C:/tibco/Logs for the new location C:\tibco\Logs).
* Save the file.
* Start the Spotfire Server process
If you are running Spotfire Server as a Windows service, use the following approach:
================
* Stop the Spotfire Server Service
================
* Stop the Spotfire Server Service
* Open "<TSS installation folder>\tomcat\bin\service.bat" file in a text editor. Search for the string "--LogPath" ( two occurrences) and replace the value with the new location.
* Save the file.
* Open a command prompt console window and browse to the <TSS installation folder>\tomcat\bin\> folder.
* Execute following two commands to re-install the Spotfire Server service
- service.bat remove
- service.bat install
* Restart the service.
================
Comments
0 comments
Article is closed for comments.