|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LogConfiguration
Configuration settings for application logging.
| Field Summary | |
|---|---|
static String |
ADMIN_EVENT_LOG_FILE
|
static String |
ADMIN_EVENT_LOGGER_NAME
|
static String |
LOG_FILE
|
static String |
LOGGING_DIR
|
static String |
USER_EVENT_LOG_FILE
|
static String |
USER_EVENT_LOGGER_NAME
|
| Fields inherited from interface info.aduna.app.config.Configuration |
|---|
DEFAULT_RESOURCES_LOCATION, DIR, RESOURCES_LOCATION |
| 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. |
LogReader |
getDefaultLogReader()
Default (fallback) LogReader instance. |
File |
getLoggingDir()
The location on the file system where logging data is stored. |
LogReader |
getLogReader(String appender)
A reader that can read logging information as stored by the specific logger's appender. |
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 enabled)
Enable or disable debug logging. |
| Methods inherited from interface info.aduna.app.config.Configuration |
|---|
destroy, init, load, save |
| Field Detail |
|---|
static final String LOGGING_DIR
static final String LOG_FILE
static final String USER_EVENT_LOG_FILE
static final String ADMIN_EVENT_LOG_FILE
static final String USER_EVENT_LOGGER_NAME
static final String ADMIN_EVENT_LOGGER_NAME
| Method Detail |
|---|
void setBaseDir(File baseDir)
throws IOException
baseDir - the base location on the file system for logging configuration and data
IOExceptionFile getBaseDir()
File getConfDir()
File getLoggingDir()
LogReader getLogReader(String appender)
appender - Name of the appender to which the LogReader is attached
LogReader getDefaultLogReader()
boolean isDebugLoggingEnabled()
void setDebugLoggingEnabled(boolean enabled)
enabled - set to true if debug logging should be enabled, set to false
otherwisevoid setAppConfiguration(AppConfiguration config)
AppConfiguration getAppConfiguration()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||