IBM Support

How to manage the size of the RTC log file

Question & Answer


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 link 'Importing HTML'.

[{"Product":{"code":"SSUC3U","label":"IBM Engineering Workflow Management"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":"General Information","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"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","Edition":"Standard","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Team Concert

Document Information

Modified date:
16 June 2018

UID

swg21685776