Class 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 via save() to logger.properties do not affect the logging framework unless reconfigureLogging() is invoked.
    Since:
    MicroStrategy Web 8.0.2
    • Constructor Detail

      • LoggingManagementBean

        public LoggingManagementBean()
    • 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