We want to know how to have two separate xcom.log files for two separate applications. We want to monitor two log files and capture errors to alert us to any problems. With a single xcom.log all errors get logged in one log file and we can not easily separate the errors from the two different applications.
How do we enable the log files? Do we need to restart xcomd?
If you are sending transfers from Linux, you may specific an alternate log file on a per transfer basis. Here is the information about the parameter to set. It is set for each transfer. It goes on the command line or in the .cnf file specified for the transfer. You do not need to recycle xcomd or reset anything when you put it on the command line or in the .cnf file.
The name of the file where CA XCOM Data Transport logs activity. If you do not specify this parameter, the systemwide log file $XCOM_HOME/xcom.log is used. If you specify this parameter with a different file name, the logging information is only sent to the specified file.
Range: 0 to 256 characters
For incoming transfers only, if you set $XCOM_HOME/xcom.log in the xcom.glb, XCOM will redirect all log information from remotely initiated transfers to that log. Note that if you set this in xcom.glb the log entries for all incoming transfers will go there. If you change a parameter in xcom.glb you will have to stop and start the xcomd service.
Documentation: CA XCOM Data Transport for UNIX/Linux - 11.6.01