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_NAME
DEFAULT_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, wait
getDefaultLogReader, getLogReader
destroy, init, load, save
protected LogConfigurationBase() throws IOException
IOException
public void setBaseDir(File baseDir) throws IOException
LogConfiguration
setBaseDir
in interface LogConfiguration
baseDir
- the base location on the file system for logging configuration and dataIOException
public File getBaseDir()
LogConfiguration
getBaseDir
in interface LogConfiguration
public File getConfDir()
LogConfiguration
getConfDir
in interface LogConfiguration
public File getLoggingDir()
LogConfiguration
getLoggingDir
in interface LogConfiguration
public boolean isDebugLoggingEnabled()
LogConfiguration
isDebugLoggingEnabled
in interface LogConfiguration
public void setDebugLoggingEnabled(boolean debugLoggingEnabled)
LogConfiguration
setDebugLoggingEnabled
in interface LogConfiguration
debugLoggingEnabled
- set to true if debug logging should be enabled, set to false
otherwisepublic AppConfiguration getAppConfiguration()
getAppConfiguration
in interface LogConfiguration
public void setAppConfiguration(AppConfiguration config)
setAppConfiguration
in interface LogConfiguration
Copyright © 2001-2016 Aduna. All Rights Reserved.