Package com.microstrategy.web.app
Class XMLTracingFormatter
- java.lang.Object
-
- com.microstrategy.utils.log.Formatter
-
- com.microstrategy.utils.log.XMLFormatter2
-
- com.microstrategy.web.app.XMLTracingFormatter
-
- Direct Known Subclasses:
XMLFormatterEx
public class XMLTracingFormatter extends XMLFormatter2
An XML-based formatter that can distinguish between errors and debug stack tracing. Also includes user information, and method parameters/return values.- Since:
- MicroStrategy Web 8.0.1
-
-
Field Summary
-
Fields inherited from class com.microstrategy.utils.log.XMLFormatter2
lineSeparator
-
-
Constructor Summary
Constructors Constructor Description XMLTracingFormatter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addLogInfo(LogRecord record, java.lang.StringBuffer sb)
static java.util.Map<java.lang.String,java.lang.String>
getThreadLocalParameters(LogRecord record)
Parameter keys: userName, clientID-
Methods inherited from class com.microstrategy.utils.log.XMLFormatter2
format, getStackTrace
-
Methods inherited from class com.microstrategy.utils.log.Formatter
formatMessage, getExceptionMessage, getHead, getTail
-
-
-
-
Method Detail
-
addLogInfo
protected void addLogInfo(LogRecord record, java.lang.StringBuffer sb)
- Overrides:
addLogInfo
in classXMLFormatter2
-
getThreadLocalParameters
public static java.util.Map<java.lang.String,java.lang.String> getThreadLocalParameters(LogRecord record)
Parameter keys: userName, clientID- Since:
- MicroStrategy Web 8.1.2
-
-