IBM Support

How to manage the size of the RTC log file

Technote (FAQ)


Question

How do you manage the log size in IBM Rational Team Concert (RTC)?

Cause

You would like to change the default, size of a log file which is set to 10 MB and also change the number of backup files which are set to 5 by default

Answer

Procedure:

    1. Change size-based rollover, update the numeric value of the following lines in log4j.properties file:

      log4j.appender.file.MaxFileSize=10MB
      log4j.appender.file.MaxBackupIndex=5

    2. Reload the log4j settings, log on to the server and enter this URL in the address bar:


      https://hostname.example.com:9443/application_contextroot/admin#action=com.ibm.team.repository.admin.reloadLoggingSettings


    3. Click Reload Log Settings.

      The text Log Settings reloaded = [true] appears below the Reload Log Settings button indicating that the reload was successful.

Document information

More support for: Rational Team Concert
General Information

Software version: 3.0.1.1, 4.0, 4.0.0.1, 4.0.0.2, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5, 4.0.6, 4.0.7, 5.0, 5.0.1

Operating system(s): Linux, Windows

Software edition: Standard

Reference #: 1685776

Modified date: 26 February 2015