Class LoggingManagementBean
- java.lang.Object
-
- com.microstrategy.utils.log.editor.LoggingManagementBean
-
public class LoggingManagementBean extends java.lang.Object
Provides 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()
EditableLogger
getEditableLogger(java.lang.String loggerName)
java.lang.String
getFilePath()
static java.lang.String[]
getFilterOptions()
static java.lang.String[]
getFormatterOptions()
static java.lang.String[]
getHandlerOptions()
java.util.Properties
getLoggerProperties()
static java.lang.String[]
getStartingPropertyNames(java.lang.String className)
void
load()
void
reconfigureLogging()
void
save()
void
setFilePath(java.lang.String filepath)
void
validateFilePath()
-
-
-
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
-
-