How to change the default logs folder location for TIBCO Data Virtualization(TIBCO Spotfire Advanced Data Services(ADS)/Composite CIS).

How to change the default logs folder location for TIBCO Data Virtualization(TIBCO Spotfire Advanced Data Services(ADS)/Composite CIS).

book

Article ID: KB0080126

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization All Versions

Description

How to change the default log-folders of  TIBCO Data Virtualization(TIBCO Spotfire Advanced Data Services(ADS)/Composite CIS) to any custom folder location.

Issue/Introduction

How to change the default logs folder location for TIBCO Spotfire Advanced Data Services (Composite CIS).

Environment

All Supported OS

Resolution

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 file <CIS_INSTALL_HOME>/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 <CIS_INSTALL_HOME>/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. 

Example.

log4j.appender.MAIN.File=C:/Program Files/Composite Software/CIS x.x.0/logs/cs_server.log

4). Change the value of the property to something representing a log file in another location.

Example.

log4j.appender.MAIN.File=C:/NEW_FOLDER/logs/cs_server.log

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 x.x.0\conf\monitor\log4j.properties

OR

C:\Program Files\Cisco Systems\CIS 7.0\conf\monitor\log4j.properties

Always make sure that the service has access to the folder it is going to write and modify into.