public abstract class LogConfigurationBase extends Object implements LogConfiguration
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| Modifier | Constructor and Description |
|---|---|
protected |
LogConfigurationBase() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultLogReader, getLogReaderdestroy, init, load, saveprotected LogConfigurationBase()
throws IOException
IOExceptionpublic void setBaseDir(File baseDir) throws IOException
LogConfigurationsetBaseDir in interface LogConfigurationbaseDir - the base location on the file system for logging configuration and dataIOExceptionpublic File getBaseDir()
LogConfigurationgetBaseDir in interface LogConfigurationpublic File getConfDir()
LogConfigurationgetConfDir in interface LogConfigurationpublic File getLoggingDir()
LogConfigurationgetLoggingDir in interface LogConfigurationpublic boolean isDebugLoggingEnabled()
LogConfigurationisDebugLoggingEnabled in interface LogConfigurationpublic void setDebugLoggingEnabled(boolean debugLoggingEnabled)
LogConfigurationsetDebugLoggingEnabled in interface LogConfigurationdebugLoggingEnabled - set to true if debug logging should be enabled, set to false
otherwisepublic AppConfiguration getAppConfiguration()
getAppConfiguration in interface LogConfigurationpublic void setAppConfiguration(AppConfiguration config)
setAppConfiguration in interface LogConfigurationCopyright © 2001–2015 Aduna. All rights reserved.