public class LoggingConfiguration extends Object
| Constructor and Description |
|---|
LoggingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getLevelsFile() |
String |
getLogPath() |
int |
getMaxHistory() |
long |
getMaxSegmentSizeInBytes() |
boolean |
isConsoleEnabled() |
LoggingConfiguration |
setConsoleEnabled(boolean consoleEnabled) |
LoggingConfiguration |
setLevelsFile(String levelsFile) |
LoggingConfiguration |
setLogPath(String logPath) |
LoggingConfiguration |
setMaxHistory(int maxHistory) |
LoggingConfiguration |
setMaxSegmentSizeInBytes(long maxSegmentSizeInBytes) |
public boolean isConsoleEnabled()
@Config(value="log.enable-console") public LoggingConfiguration setConsoleEnabled(boolean consoleEnabled)
public String getLogPath()
@Config(value="log.output-file") public LoggingConfiguration setLogPath(String logPath)
public long getMaxSegmentSizeInBytes()
@Config(value="log.max-size-in-bytes") public LoggingConfiguration setMaxSegmentSizeInBytes(long maxSegmentSizeInBytes)
public int getMaxHistory()
@Config(value="log.max-history") public LoggingConfiguration setMaxHistory(int maxHistory)
public String getLevelsFile()
@Config(value="log.levels-file") public LoggingConfiguration setLevelsFile(String levelsFile)
Copyright © 2010-2014 Airlift. All Rights Reserved.