How can I change the location of SOAM logs?

You can set the location in corresponding log4j properties files, which is present in $(SOAM_HOME)/conf

log4j.appender.<daemon>.File=<location>/<filename>

<location> can be changed to the desired location.

The log file name convention is defined as follows:

  • Repository Service (RS): one instance in the cluster rs.${log4cxx_hostname}.log

  • Session Director (SD): one instance in the cluster sd.${log4cxx_hostname}.log

  • Session Manager (SSM): one instance per application ssm.${log4cxx_hostname}.${log4cxx_appname}.log

  • Service Instance Manager (SIM): multiple instances per application sim.${log4cxx_hostname}. ${log4cxx_appname}. ${log4cxx_autoindex}.log

Where,

${log4cxx_hostname} is an environment variable defined by the Symphony environment that contains the host name of the logging process. It is used in log file name for the RS, SD, SSM, and SIM.

${log4cxx_appname} is an environment variable defined by the Symphony environment that contains the application name of the logging process. It is used in log file name for the SSM and SIM.

${log4cxx_autoindex} is an environment variable defined by the Symphony environment for log4cxx user to define the index of the logging process. It is used in log file name for SIM. The purpose of this environment variable is to avoid the loss of logging content in case there are multiple SIM instances.