Setting the log configuration of the client management services

After installing the client management service (CMS), you can set the log configuration according to your preference by editing values of the parameters in the log file. The parameters include dateTimeFormat, encoding, and languageTag.

Procedure

To update the parameter configuration in the log file of CMS, complete the following actions:

  1. Change to the following directory where the CMS is installed: /opt/tivoli/tsm/cms/Liberty/usr/servers/cmsServer.
  2. Open the client-configuration.xml file in a text editor.
  3. Edit the parameters such as datetime Format, encoding, and language Tag to your preferred values. For more information about available options, see CmsConfig addlog command.
  4. Save the file. After updating the parameters, run the service cms.rc restart command in the console to restart the CMS service.
  5. Restart the client management service by issuing the following command: service cms.rc restart. For more information about starting and stopping the service, see Starting and stopping the client management service.

Example

Following is an example of the client-configuration.xml with all the parameters.

<logFile>
<logPath>/opt/tivoli/tsm/client/ba/bin/dsmerror.log</logPath>
<dateTimeFormat>MM/dd/yyyy HH:mm:ss</dateTimeFormat>
<encoding>ISO-8859-1</encoding>
<languageTag>en_US</languageTag>
</logFile>
<logFile>
<logPath>/opt/tivoli/tsm/client/ba/bin/dsmsched.log</logPath>
<dateTimeFormat>MM/dd/yyyy HH:mm:ss</dateTimeFormat>
<encoding>ISO-8859-1</encoding>
<languageTag>en_US</languageTag>
</logFile>
In the preceding example, the parameter values are as follows:
  • dateTimeFormat is MM/dd/yyyy HH:mm:ss.
  • encoding is ISO-8859-1.
  • languageTag is en_US.