Package com.microstrategy.utils.log
Class ClassMethodTracingFilter
- java.lang.Object
-
- com.microstrategy.utils.log.ClassMethodTracingFilter
-
- All Implemented Interfaces:
Configurable
,Filter
public class ClassMethodTracingFilter extends java.lang.Object implements Filter, Configurable
This filter provides regular expression filtering of class and method names. Only supported in a 1.4 JVM and up. Seeconfigure(String)
for details.- Since:
- MicroStrategy Web 8.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MESSAGE_TRACE
-
Constructor Summary
Constructors Constructor Description ClassMethodTracingFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(java.lang.String propPrefix)
logger.properties keys:java.lang.String
getPattern()
boolean
isLoggable(LogRecord record)
boolean
isTracing()
void
setPattern(java.lang.String accept)
void
setTracing(boolean traceOn)
-
-
-
Field Detail
-
MESSAGE_TRACE
public static final java.lang.String MESSAGE_TRACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
configure
public void configure(java.lang.String propPrefix)
logger.properties keys:
- pattern. List of class + method names delimited by new lines. Methods are prefixed by the "#" character. E.g. IDSSXMLObjectServer#createFolder.
- trace. Adds stack traces if set to 'true' or '1'.
- Specified by:
configure
in interfaceConfigurable
- Parameters:
propPrefix
- String The partial properties key. seeConfigurable.configure(String)
.
-
setTracing
public void setTracing(boolean traceOn)
-
isTracing
public boolean isTracing()
-
setPattern
public void setPattern(java.lang.String accept)
-
getPattern
public java.lang.String getPattern()
-
isLoggable
public boolean isLoggable(LogRecord record)
- Specified by:
isLoggable
in interfaceFilter
-
-