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

KB220138: MicroStrategy Web log appears to log many severe and warning messages when logging level is set to Warnings in MicroStrategy Web Administrator


Community Admin

• Strategy


MicroStrategy Web log appears to log many severe and warning messages when logging level is set to Warnings in MicroStrategy Web Administrator

SUMMARY
Logging levels can be set in Strategy Web Administrator 9.x under the Diagnostics heading, Configuration subheading as OFF, Errors, Warnings, and Messages.  If set to a setting besides Errors or OFF, then the Strategy Web Log can quickly become overpopulated with many messages that an administrator may not be used to reviewing in the logs.  This tech note aims to explain a bit about these log entries that are seen, and how to avoid them.
 
DESCRIPTION
A Strategy Web Admin may desire to log Warning level messages to try and proactively monitor and resolve issues that may occur in an environment.  The admin in this scenario may set the web logs to log at the Warnings level.  As a result, they realize that the web log file begins to quickly populate as users perform various tasks in the environment, and may wonder what all the messages mean, or if they are detrimental to the state of the Strategy Web environment.
 
Here is a snippet of what the log may appear like when the Warnings logging level is set in Strategy Web:
 

ka04W000000OdhQQAS_0EM4400000025q8.jpeg
ka04W000000OdhQQAS_0EM4400000025qE.jpeg

 


CUSTOMIZATION: ddMenu is not a valid name for the IfFeature tag (Page: diagnostics). Please review the documentation and replace with a valid name.

CUSTOMIZATION: fontFamilyOption is not a valid name for the IfFeature tag (Page: diagnostics). Please review the documentation and replace with a valid name.

CUSTOMIZATION: hiddensections is not a valid name for the IfFeature tag (Page: diagnostics). Please review the documentation and replace with a valid name.

 
STEPS TO REPRODUCE

  1. Navigate to Strategy Web Administrator
  2. Select the Configuration subheading under the Diagnostics heading on the left-hand side of Strategy Web Administrator
  3. By default, logging level should be set to Errors
  4. Change logging level from Errors to Warnings
  5. Hit Save
  6. Navigate to Strategy Web, login to Strategy Tutorial project
  7. Navigate to a few locations: Shared Reports, Home button, My Reports, Home button, History List, Home button, New Report, Home button
  8. Navigate to the web log location: (default location) C:\Program Files (x86)\MicroStrategy\Web ASPx\WEB-INF\log
  9. A web log should show up with current date in the folder
  10. Open the web log and notice the population of the web log just after navigating to a few locations above
  11. This log will quickly become populated with various information messages ranging from different levels (denoted by the <level> tags) such as SEVERE, WARNING, etc.
  12. Messages may also populate the web log that describe customizations, such as:
    • CUSTOMIZATION: ddMenu is not a valid name for the IfFeature tag (Page: diagnostics). Please review the documentation and replace with a valid name.
    • CUSTOMIZATION: fontFamilyOption is not a valid name for the IfFeature tag (Page: diagnostics). Please review the documentation and replace with a valid name.
    • CUSTOMIZATION: hiddensections is not a valid name for the IfFeature tag (Page: diagnostics). Please review the documentation and replace with a valid name.

 
VIDEO:
 
 
CAUSE
The cause for the population of the messages in the logs is due to the logging level changing from Errors to Warnings.  What this change does is it starts to include particular levels of information messages that are not errors.  The logging level of Warnings may be misleading in that one may desire to try and proactively prevent issues from occurring by reviewing warning messages in the logs, however this is not the intent of the Warnings level.  The Warnings setting outputs particular levels of information messages and do not necessarily indicate a problem or error, or an error on the horizon.  This results in the log getting populated with tons of information messages that quickly increase the log size, fill it up with tons of XML text, and makes it difficult to read and navigate through.
 
The cause for each message is unable to be discussed in this tech note, but the specific messages mentioning the text ‘CUSTOMIZATION’ appear to indicate a particular field within a backend file that may have been changed from previous platform versions over time.  This is roorted within the out of the box release, and not a user-initiated customization.  These messages may be ignored.
 
ACTION
The default setting of Errors is the recommended logging level in the Diagnostics heading, Configuration subheading in Strategy Web Administrator.  This will prevent the web logs from quickly increasing in size, populating the log with tons of information messages, and making the logs difficult to read and navigate through.
 
Warnings level can be used and set if you have a specific purpose or reason to do so.  Otherwise, the default setting of Errors should be sufficient to capture the necessary information needed by Tech Support if an issue arises.
 
TO LEARN MORE
More information can be found regarding the Strategy Web Administrator page and settings in the System Administration Guide product manual in Chapter 13: Administering Strategy Web and Mobile.


Comment

0 comments

Details

Knowledge Article

Published:

April 6, 2017

Last Updated:

April 6, 2017