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

KB14889: How to enable Web Transform tracing in MicroStrategy Web for Troubleshooting Purposes in MicroStrategy 9.4.1 and above.


Community Admin

• Strategy


How to enable Web Transform tracing in MicroStrategy Web for Troubleshooting Purposes in MicroStrategy 9.4.1 and above.

For troubleshooting purposes, it is possible to record all API calls at the web transform layer.  The transform layer is responsible for generating the HTML output so it could be useful to review this logging if there are problems with the final output.
 
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.transform), full name (filter on a specific user), pattern, and trace level, as shown below:

ka04W000000Oh54QAC_0EM4400000028qk.jpeg

Once the information has been specified, save the changes. By default the logs are stored in the directory with a name similar to AdvMSTRLogweb_transform12345678_1.log.
It is also possible to use the custom diagnostics setup section if one wants to add specific logger or filtering parameters. To use this section, a file must be created. To achieve this, open Notepad and create a new file named 'logger-transform.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.transform.Log.AdvancedLoggerHandler.class=com.Strategy.utils.log.DatedFileHandler
com.Strategy.web.transform.Log.level=ALL
com.Strategy.web.transform.Log.AdvancedLoggerHandler.filter.trace=false
com.Strategy.web.transform.Log.AdvancedLoggerHandler.formatter=com.Strategy.web.app.XMLTracingFormatter
com.Strategy.web.transform.Log.AdvancedLoggerHandler.pattern=C\:/Program Files/MicroStrategy/Web ASPx/WEB-INF/log/WebTransform%systemdate%.log
com.Strategy.web.transform.Log.AdvancedLoggerHandler.level=ALL
com.Strategy.web.transform.Log.handlers=AdvancedLoggerHandler

 
NOTE: 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 (e.g. C:/Program Files/MicroStrategy/Web ASPx/WEB-INF/log/logger-webtransform.properties) and click 'Save', as shown below:
 

ka04W000000Oh54QAC_0EM4400000028qd.jpeg

 
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 5, 2017

Last Updated:

June 5, 2017