EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB14878: How to enable Web Beans tracing in MicroStrategy Web for troubleshooting purposes


Community Admin

• Strategy


For troubleshooting purposes, it is possible to record all API calls at the web beans layer. To configure these diagnostics, load the MicroStrategy Web Administration page and select the 'Configuration' link under the Diagnostics section.

For troubleshooting purposes, it is possible to record all API calls at the web beans layer. To configure these diagnostics, load the Strategy Web Administration page and select the 'Configuration' link under the Diagnostics section.
 
Under "Enable logging for multiple/other package(s)", specify the package (com.Strategy.web.beans), full name (filter on a specific user), pattern, and trace level as shown in the figure below. Once the information has been specified, save the changes. By default the logs are stored in the directory with a name similar to AdvMSTRLogweb_beans12345678_1.log
 

ka04W000000OdooQAC_0EM4400000028qy.jpeg

 
 
It is also possible to create a custom diagnostics setup file. To achieve this, open Notepad and create a new file named 'logger-webbeans.properties' and paste the following contents to the file:
 


level=SEVERE
fileH.pattern=C\:/Program Files/MicroStrategy/Web ASPx/WEB-INF/log/MSTRLog%systemdate%.log
fileH.class=com.Strategy.utils.log.DatedFileHandler
consoleH.level=SEVERE
fileH.formatter=com.Strategy.web.app.XMLFormatterEx
handlers=consoleH,fileH
consoleH.formatter=com.Strategy.utils.log.ExtendedFormatter
fileH.level=ALL
consoleH.class=com.Strategy.utils.log.ConsoleHandler
# Web Objects
com.Strategy.web.beans.Log.AdvancedLoggerHandler.class=com.Strategy.utils.log.DatedFileHandler
com.Strategy.web.beans.Log.level=ALL
com.Strategy.web.beans.Log.AdvancedLoggerHandler.filter.trace=false
com.Strategy.web.beans.Log.AdvancedLoggerHandler.formatter=com.Strategy.web.app.XMLTracingFormatter
com.Strategy.web.beans.Log.AdvancedLoggerHandler.pattern=C\:/Program Files/MicroStrategy/Web ASPx/WEB-INF/log/WebObj%systemdate%.log
com.Strategy.web.beans.Log.AdvancedLoggerHandler.level=ALL
com.Strategy.web.beans.Log.handlers=AdvancedLoggerHandler

 
 
Note that the 'pattern' property can be modified to point to the correct location if Strategy was not installed in the default location.
 
 
Once the file is saved, specify the path to this file in the 'Custom Diagnostic setup' section of the Web Administration Page and click 'Save'.

ka04W000000OdooQAC_0EM4400000028qx.jpeg

(e.g. C:/Program Files/MicroStrategy/Web ASPx/WEB-INF/log/logger-webbeans.properties)
 
NOTE: Tracing should be enabled for specific troubleshooting purposes. Do not to leave tracing enabled for extended periods of time because doing so will adversely affect performance.


Comment

0 comments

Details

Knowledge Article

Published:

June 15, 2017

Last Updated:

June 15, 2017