IBM Support

How to obtain a trace log of Rational Team Concert scm command

Question & Answer


Question

How do you obtain a trace log of IBM Rational Team Concert scm command?

Cause

You are asked to obtain the trace log of scm command by Rational support.

Answer

You can obtain the trace log of scm command by following steps:


Procedure:


  1. Put log4j.properties in a folder. C:\Users\Administrator, in this case.

    Create log4j.properties in a folder. C:\Users\Administrator, in this case.

  2. Add log4j_properties system environment variable. The value must be the path where you put log4j.properties. C:\Users\Administrator\log4j.properties, in this case.

    Add log4j_properties system environment variable. The value must be the path where you put log4j.properties. C:\Users\Administrator\log4j.properties, in this case.

  3. Add the path to scm command as Path system environment if you have not.

    Add the path to scm command as Path system environment if you have not.

  4. Find org.apache.commons.logging.log4j plugin in your (JazzTeamServer)\server\conf\jts\sites\update-site\plugins folder, and copy it. The version of the plugin might be different in your case.

    Find org.apache.commons.logging.log4j plugin in your (JazzTeamServer)\server\conf\jts\sites\update-site\plugins folder, and copy it. The version of the plugin might be different in your case.

  5. Paste it into your (TeamConcert)\scmtools\eclipse\plugins folder.

    Paste it into your (TeamConcert)\scmtools\eclipse\plugins folder.

  6. Open command prompt and go to the folder you put log4j.properties, then reproduce the issue of scm command.

    Open command prompt and go to the folder you put log4j.properties, then reproduce the issue of scm command.

  7. Find logs folder under the folder.

    Find logs folder in the folder.

  8. Send cli.log to Rational support.

    Send cli.log to Rational support.

Disclaimer

All source code and/or binaries attached to this document are referred to here as "the Program". IBM is not providing program services of any kind for the Program. IBM is providing the Program on an "AS IS" basis without warranty of any kind. IBM WILL NOT BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS), EVEN IF IBM, OR ITS RESELLER, HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.


log4j.propertieslog4j.properties

[{"Product":{"code":"SSUC3U","label":"IBM Engineering Workflow Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"SCM","Platform":[{"code":"PF033","label":"Windows"}],"Version":"4.0.4;4.0.5;4.0.6;4.0.7;5.0;5.0.1;5.0.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Team Concert

Document Information

Modified date:
16 June 2018

UID

swg21693646