Class LoggingManagementBean
- java.lang.Object
-
- com.microstrategy.utils.log.editor.LoggingManagementBean
-
public class LoggingManagementBean extends java.lang.ObjectProvides a editable framework for the logging API, specifically an abstraction over editing logger.properties. Note that changes saved viasave()to logger.properties do not affect the logging framework unlessreconfigureLogging()is invoked.- Since:
- MicroStrategy Web 8.0.2
-
-
Constructor Summary
Constructors Constructor Description LoggingManagementBean()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EditableLogger[]getConfiguredLoggers()EditableLoggergetEditableLogger(java.lang.String loggerName)java.lang.StringgetFilePath()static java.lang.String[]getFilterOptions()static java.lang.String[]getFormatterOptions()static java.lang.String[]getHandlerOptions()java.util.PropertiesgetLoggerProperties()static java.lang.String[]getStartingPropertyNames(java.lang.String className)voidload()voidreconfigureLogging()voidsave()voidsetFilePath(java.lang.String filepath)voidvalidateFilePath()
-
-
-
Method Detail
-
setFilePath
public void setFilePath(java.lang.String filepath) throws java.io.IOException- Throws:
java.io.IOException
-
getFilePath
public java.lang.String getFilePath()
-
validateFilePath
public void validateFilePath() throws java.io.IOException- Throws:
java.io.IOException
-
getLoggerProperties
public java.util.Properties getLoggerProperties()
-
save
public void save()
-
load
public void load()
-
reconfigureLogging
public void reconfigureLogging() throws java.io.IOException- Throws:
java.io.IOException- Since:
- MicroStrategy Web 8.1.1
-
getEditableLogger
public EditableLogger getEditableLogger(java.lang.String loggerName)
-
getHandlerOptions
public static java.lang.String[] getHandlerOptions()
-
getFormatterOptions
public static java.lang.String[] getFormatterOptions()
-
getFilterOptions
public static java.lang.String[] getFilterOptions()
-
getStartingPropertyNames
public static java.lang.String[] getStartingPropertyNames(java.lang.String className)
-
getConfiguredLoggers
public EditableLogger[] getConfiguredLoggers()
- Since:
- MicroStrategy Web 8.1.2
-
-