MicroStrategy ONE

Logging to a Debugging Monitor

In this example, all SEVERE (error) messages are logged to the debugging monitor. Add the following code in the custom logger.properties file.

# Define an alias for a handler object.

handlers=handler1

# Define the handler as DebugMonitorHandler so the logger object

# passes the log records to a system console.

handler1.class =com.microstrategy.utils.log.DebugMonitorHandler

# Instruct the DebugMonitorHandler to accept log messages

# of logging level SEVERE or higher

handler1.level=SEVERE

# Format the log messages using the formatter called XMLFormatterEx.

handler1.formatter= com.microstrategy.web.app.XMLFormatterEx

# Instruct the Root Logger to accept log messages

# of logging level SEVERE or higher.

level= SEVERE