MicroStrategy ONE

Enable SAML Logging

  1. Access the machine in which MicroStrategy Library is installed/deployed and browse to <Library Folder Path>/WEB-INF/classes.
  2. Locate and edit logback.xml.
  3. Locate <logger name="org.springframework" level="ERROR">. Remove the comment tag and change the value of level to “DEBUG”.

    Locate <logger name="com.microstrategy" level="ERROR">. Remove the comment tag and change the value of level to “DEBUG”.

    Copy
    <logger name="org.springframework" level="DEBUG">
         <appender-ref ref="SIFT" />
    </logger>
    <logger name="com.microstrategy" level="DEBUG">     
         <appender-ref ref="SIFT" /> 
    </logger>
  4. Locate <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> and change the level to be "DEBUG".

    Copy
    <filter class=“ch.qos.logback.classic.filter.ThresholdFilter”>
         <level>DEBUG</level>
    </filter>
  5. Save and close logback.xml.
  6. Restart the application server.
  7. Additional logging is added to MicroStrategyLibrary-{appName}.log. By default, this is named MicroStrategyLibrary-MicroStrategyLibrary.log. You can expect the log file to appear in a folder specified under the LOG_HOME property of logback.xml. For example, <property name="LOG_HOME" value="C:/Program Files (x86)/Common Files/MicroStrategy/Log" />.

Once the behavior you are investigating has been reproduced, edit logback.xml once again and change level="DEBUG" back to level="ERROR".