|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.aduna.app.logging.base.LogConfigurationBase
public abstract class LogConfigurationBase
Base implementation of LogConfiguration.
| Field Summary |
|---|
| Fields inherited from interface info.aduna.app.logging.LogConfiguration |
|---|
ADMIN_EVENT_LOG_FILE, ADMIN_EVENT_LOGGER_NAME, LOG_FILE, LOGGING_DIR, USER_EVENT_LOG_FILE, USER_EVENT_LOGGER_NAME |
| Fields inherited from interface info.aduna.app.config.Configuration |
|---|
DEFAULT_RESOURCES_LOCATION, DIR, RESOURCES_LOCATION |
| Constructor Summary | |
|---|---|
protected |
LogConfigurationBase()
|
| Method Summary | |
|---|---|
AppConfiguration |
getAppConfiguration()
|
File |
getBaseDir()
The base location on the file system for logging configuration and data |
File |
getConfDir()
The location on the file system where logging configuration is stored. |
File |
getLoggingDir()
The location on the file system where logging data is stored. |
protected Set<String> |
getPackages()
|
boolean |
isDebugLoggingEnabled()
Is debug logging enabled? |
void |
setAppConfiguration(AppConfiguration config)
|
void |
setBaseDir(File baseDir)
Set the base location on the file system for logging configuration and data |
void |
setDebugLoggingEnabled(boolean debugLoggingEnabled)
Enable or disable debug logging. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface info.aduna.app.logging.LogConfiguration |
|---|
getDefaultLogReader, getLogReader |
| Methods inherited from interface info.aduna.app.config.Configuration |
|---|
destroy, init, load, save |
| Constructor Detail |
|---|
protected LogConfigurationBase()
throws IOException
IOException| Method Detail |
|---|
public void setBaseDir(File baseDir)
throws IOException
LogConfiguration
setBaseDir in interface LogConfigurationbaseDir - the base location on the file system for logging configuration and data
IOExceptionpublic File getBaseDir()
LogConfiguration
getBaseDir in interface LogConfigurationpublic File getConfDir()
LogConfiguration
getConfDir in interface LogConfigurationpublic File getLoggingDir()
LogConfiguration
getLoggingDir in interface LogConfigurationpublic boolean isDebugLoggingEnabled()
LogConfiguration
isDebugLoggingEnabled in interface LogConfigurationpublic void setDebugLoggingEnabled(boolean debugLoggingEnabled)
LogConfiguration
setDebugLoggingEnabled in interface LogConfigurationdebugLoggingEnabled - set to true if debug logging should be enabled, set to false
otherwiseprotected Set<String> getPackages()
public AppConfiguration getAppConfiguration()
getAppConfiguration in interface LogConfigurationpublic void setAppConfiguration(AppConfiguration config)
setAppConfiguration in interface LogConfiguration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||