public class LogbackConfiguration extends AbstractLogConfiguration
| Modifier and Type | Field and Description | 
|---|---|
| static String | LOGGING_DIR_PROPERTY | 
ADMIN_EVENT_LOG_FILE, ADMIN_EVENT_LOGGER_NAME, LOG_FILE, LOGGING_DIR, USER_EVENT_LOG_FILE, USER_EVENT_LOGGER_NAMEDEFAULT_RESOURCES_LOCATION, DIR, RESOURCES_LOCATION| Constructor and Description | 
|---|
| LogbackConfiguration() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | destroy()Clean up configuration resources. | 
| LogReader | getDefaultLogReader()Default (fallback) LogReader instance. | 
| LogReader | getLogReader(String appender)A reader that can read logging information as stored by the specific logger's appender. | 
| void | init()Initialize the configuration settings. | 
| void | load()Load the configuration settings. | 
| void | save()Store configuration settings. | 
getAppConfiguration, getBaseDir, getConfDir, getLoggingDir, getPackages, isDebugLoggingEnabled, setAppConfiguration, setBaseDir, setDebugLoggingEnabledpublic static final String LOGGING_DIR_PROPERTY
public LogbackConfiguration()
                     throws IOException
IOExceptionpublic void init()
          throws IOException
ConfigurationIOException - if the configuration settings could not be initialized because of an I/O problem.public void load()
          throws IOException
ConfigurationIOException - if the configuration settings could not be loaded due to an I/O problem.public void save()
          throws IOException
ConfigurationIOException - if the configuration settings could not be saved due to an I/O problem.public void destroy()
Configurationpublic LogReader getLogReader(String appender)
LogConfigurationappender - Name of the appender to which the LogReader is attachedpublic LogReader getDefaultLogReader()
LogConfigurationCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.