Mid Tier logging


Log Mid Tier activity to debug the issues with Mid Tier. Based on the issue, you may have to use a combination of logging provided by the Mid Tier and third-party products.

The Mid Tier log statement includes method calls, code execution, and informative messages for Mid Tier components. Mid Tier log statements are written into the armidtier#.log file located in the <Mid Tier installation directory>\logs folder.

To set logging properties for Mid Tier

  1. Open Mid Tier Configuration Tool.
  2. Click Log Settings.
    For more information, see Configuring-the-Log-Settings-page-by-using-Mid-Tier-Configuration-Tool.

    Log_settings.png

To setup detailed logging

  1. Login to Mid Tier Configuration tool:
    http://<server name>:<port number>/arsys/shared/config/config.jsp
  2. Go to the  Log Settings tab and set the following categories:

    Category

    Log level

    Performance or back channel related issues

    PERFORMANCE SERVLET

    Session oriented issues

    PERFORMANCE SERVLET SESSION MGMT

    Web service issues

    PERFORMANCE WEBSERVICE

    Reporting issues

    PERFORMANCE SERVLET REPORTING

    BMC Service Request Management and Flashboards related issues

    PERFORMANCE SERVLET DATA VISUALIZATION

    The following screenshot displays the Log categories in Mid Tier:

    Log_categories.png

  3. Verify that the following values are set correctly:
    • Log Level is set to Fine
    • Log Viewer is set to File
    • Log Format set to Detailed text (includes class and methods)
    • Maximum Log File Size (kb) is set to 10240
    • Maximum Number of Log Files is set to 100 
      image2020-3-16_10-16-3.png
  4. Click Save changes to save your settings.

To troubleshoot an issue

  1. Note the path set in the Log Directory field.
    When the problem is replicated, access Mid Tier logs.
  2. Access the Mid Tier log directory using remote desktop, ssh, or shared drive.
  3. Share the Mid Tier logs with BMC support along with a copy of the config.properties file, located in the midtier\WEB-INF\classes\ folder.
    The maximum limit of file upload is 1.5 GB.




 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*