IBM Support

How to enable logging and tracing in Rational Functional Tester 8.2 and later

Technote (FAQ)


Question

How do you enable logging and tracing and set logging levels in IBM Rational Functional Tester (RFT) 8.2 and above?

Cause

Starting in RFT 8.2, enabling Logging and Tracing no longer requires editing a configuration file manually. There is now a GUI option for enabling the additional logging.

Answer

Follow these steps to enable the logging and tracing:

  1. Open Rational Functional Tester

  2. Navigate to Window > Preferences

  3. Expand Functional Test

  4. Select Logging and Tracing

  5. In the Logging and Tracing options page, set the following:
    1. Set Log Level to CONFIGURATION
    2. Set Log File Size (in KB) to 10240
    3. Set Trace Level to CONFIGURATION
    4. Check Enable Tracing
    5. Set Trace File Size (in KB) to 10240
    6. Make note of the Log File Path and the Trace File Path

The Logging and Tracing screen should now look similar to this:




Once you have gathered the logs, ensure you:

  • Uncheck Enable Tracing
  • Set Log Level to WARNING

If you do not disable the additional tracing, there will be severe performance degradation in RFT.


Note: This logging mechanism is available in RFT Eclipse Integration (formerly known as Java Scripting) only; it is not available in RFT Visual Studio Integration (formerly known as .NET Scripting). If you are using Visual Studio Integration, continue to use the legacy logging and tracing mechanism described in 1224514: Setting debug options in Rational Functional Tester ivory.properties file.

Related information

Collecting IBM Rational Functional Tester error logs

Document information

More support for: Rational Functional Tester
Problem analysis

Software version: 8.2, 8.2.0.1, 8.2.0.2, 8.2.1, 8.2.1.1, 8.2.2, 8.2.2.1, 8.3, 8.3.0.1, 8.3.0.2, 8.5, 8.5.0.1, 8.5.1, 8.5.1.1, 8.5.1.2, 8.5.1.3, 8.6, 8.6.0.1, 8.6.0.2, 8.6.0.3, 8.6.0.4, 8.6.0.5, 8.6.0.6, 8.6.0.7, 8.6.0.8

Operating system(s): Linux, Windows

Reference #: 1515430

Modified date: 01 July 2016