|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.di.core.logging.CentralLogStore
public class CentralLogStore
Method Summary | |
---|---|
static void |
discardLines(String parentLogChannelId,
boolean includeGeneralMessages)
Discard all the lines for the specified log channel id AND all the children. |
static Log4jBufferAppender |
getAppender()
|
static int |
getLastBufferLineNr()
|
static List<org.apache.log4j.spi.LoggingEvent> |
getLogBufferFromTo(List<String> channelId,
boolean includeGeneral,
int from,
int to)
Get all the log lines for the specified parent log channel id (including all children) |
static List<org.apache.log4j.spi.LoggingEvent> |
getLogBufferFromTo(String parentLogChannelId,
boolean includeGeneral,
int from,
int to)
Get all the log lines pertaining to the specified parent log channel id (including all children) |
static void |
init()
|
static void |
init(int maxSize,
int maxLogTimeoutMinutes)
Initialize the central log store with optional limitation to the size |
void |
replaceLogCleaner(int maxLogTimeoutMinutes)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void replaceLogCleaner(int maxLogTimeoutMinutes)
public static void init(int maxSize, int maxLogTimeoutMinutes)
maxSize
- the maximum sizemaxLogTimeoutHours
- The maximum time that a log line times out in hours.public static void init()
public static int getLastBufferLineNr()
public static List<org.apache.log4j.spi.LoggingEvent> getLogBufferFromTo(String parentLogChannelId, boolean includeGeneral, int from, int to)
parentLogChannelId
- the parent log channel ID to grabincludeGeneral
- include general log linesfrom
- to
-
public static List<org.apache.log4j.spi.LoggingEvent> getLogBufferFromTo(List<String> channelId, boolean includeGeneral, int from, int to)
channelId
- channel IDs to grabincludeGeneral
- include general log linesfrom
- to
-
public static Log4jBufferAppender getAppender()
public static void discardLines(String parentLogChannelId, boolean includeGeneralMessages)
parentLogChannelId
- the parent log channel id to be removed along with all its children.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |