How to enable Atrium Flex debug logging to troubleshoot flex errors seen in the Atrium Core Console.

Version 5
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    BMC CMDB Suite


    COMPONENT:

    BMC Atrium Core


    APPLIES TO:

    BMC Atrium CMDB Suite



    QUESTION:

    We see flex errors when using the Atrium Core Console, what logs do we need to enable to troubleshoot these errors?


    ANSWER:

     

    Legacy ID:KA373378

      

    Edit <midtier-dir>/WEB-INF/classes/log4j.properties
        Add these lines:

      

    log4j.logger.com.bmc.atrium=DEBUG
    log4j.logger.com.bmc.bsm.atrium=DEBUG

      

        Edit the line

      

    log4j.appender.CONSOLE.Threshold=WARN

      

    to

      

    log4j.appender.CONSOLE.Threshold=DEBUG

      

    Note: The original line may have INFO instead of WARN in some versions.

      

        You may also want to edit this line:

      

    log4j.appender.CONSOLE.layout.ConversionPattern=- %m%n

      

    to be:

      

    log4j.appender.CONSOLE.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n

      

    to add more information to the output, for timestamps and thread id's for multi-user environments.

      

    Note :  Flex Data Services tracing of client-server communication is very verbose, and in many cases you will want to turn this off. Add the following line:

      

    log4j.logger.com.bmc.atrium.flex.ds=WARN
     

      

    Output is in console output, which for Tomcat is <tomcat-dir>/logs/catalina.out or logs/stdout.log on Windows

      
      In <BMCINSTALLATIONDIR> \ARSystem\midtier\WEB-INF\flex\services-config.xml, modify line  <target class="flex.messaging.log.ConsoleTarget" level="WARN"> to  
     <target class="flex.messaging.log.ConsoleTarget" level=“DEBUG"> in the <logging>  target.  
      
      
      For Atrium 8.x the path is <BMCINSTALLATIONDIR> \ARSystem\midtier\WEB-INF\AtriumWidget\.... 
      
      For Atrium 9.x the path is <BMCINSTALLATIONDIR> \ARSystem\midtier\WEB-INF\<ARServerName>\AtriumWidget\.... 
      
     
    Restart the MidTier Tomcat 
      
    Related Products:  
       
    1. BMC Atrium CMDB Suite

     


    Article Number:

    000031579


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles