Product: TIBCO Spotfire®
How to change the default logs folder location for TIBCO Spotfiire Advanced Data Services (Composite CIS).
How to change the default log-folders of TIBCO Spotfire Advanced Data Services(Composite) to any custom folder location.
It is possible to change folders of the CIS server log files. You can achieve this by modifying some configuration properties in the CIS server log configuration/conf/server/log4j.properties and restarting the server. Typically there are different properties representing different log files.
For example, to change the location of the main CIS server log file cs_server.log, do the following.
1). Open the file log4j.properties under the folder /conf/server/
2). Locate the line containing this string "log4j.appender.MAIN.File="
3). The property on this line points to the absolute path of the CIS server’s main log file.
log4j.appender.MAIN.File=C:/Program Files/Composite Software/CIS 6.2.0/logs/cs_server.log
4). Change the value of the property to something representing a log file in another location.
5). Save the change, restart the CIS server.
After the above actions, the CIS server will log the main server log in the new file. The method applies to other log files such as cs_monitor.log, cs_server_events.log, cs_server_client.log, etc. For other logs like monitor logs, etc. follow the steps above in the file: C:\Program Files\Composite Software\CIS 6.2.0\conf\monitor\log4j.properties
Always make sure that the service has access to the folder it is going to write and modify into.