| Package | Description |
|---|---|
| co.cask.cdap.logging.context |
Contains logging context objects for Flow, Map Reduce, etc.
|
| co.cask.cdap.logging.filter |
Contains classes that can be used to filter log events.
|
| co.cask.cdap.logging.read |
Contains classes for tailing log events.
|
| Modifier and Type | Method and Description |
|---|---|
static Filter |
LoggingContextHelper.createFilter(LoggingContext loggingContext) |
| Modifier and Type | Class and Description |
|---|---|
class |
AndFilter
Represents an And Filter where all sub expressions are and-ed together.
|
static class |
Filter.EmptyFilter
Empty filter.
|
class |
LogLevelExpression
Represents an expression that matches log level.
|
class |
MdcExpression
Represents an expression that can match a key,value in MDC.
|
class |
OrFilter
Represents an Or filter where all sub expressions are or-ed together.
|
| Modifier and Type | Field and Description |
|---|---|
static Filter |
Filter.EMPTY_FILTER |
| Modifier and Type | Method and Description |
|---|---|
static Filter |
FilterParser.parse(String expression) |
| Constructor and Description |
|---|
AndFilter(List<? extends Filter> expressions) |
OrFilter(List<? extends Filter> expressions) |
| Modifier and Type | Method and Description |
|---|---|
void |
LogReader.getLog(LoggingContext loggingContext,
long fromTimeMs,
long toTimeMs,
Filter filter,
Callback callback)
Returns log events of a Flow or Map between given times.
|
void |
KafkaLogReader.getLog(LoggingContext loggingContext,
long fromTimeMs,
long toTimeMs,
Filter filter,
Callback callback) |
void |
DistributedLogReader.getLog(LoggingContext loggingContext,
long fromTimeMs,
long toTimeMs,
Filter filter,
Callback callback) |
void |
FileLogReader.getLog(LoggingContext loggingContext,
long fromTimeMs,
long toTimeMs,
Filter filter,
Callback callback) |
void |
LogReader.getLogNext(LoggingContext loggingContext,
ReadRange readRange,
int maxEvents,
Filter filter,
Callback callback)
Read log events of a Flow or Map Reduce program after a given offset.
|
void |
KafkaLogReader.getLogNext(LoggingContext loggingContext,
ReadRange readRange,
int maxEvents,
Filter filter,
Callback callback) |
void |
DistributedLogReader.getLogNext(LoggingContext loggingContext,
ReadRange readRange,
int maxEvents,
Filter filter,
Callback callback) |
void |
FileLogReader.getLogNext(LoggingContext loggingContext,
ReadRange readRange,
int maxEvents,
Filter filter,
Callback callback) |
void |
LogReader.getLogPrev(LoggingContext loggingContext,
ReadRange readRange,
int maxEvents,
Filter filter,
Callback callback)
Read log events of a Flow or Map Reduce program before a given offset.
|
void |
KafkaLogReader.getLogPrev(LoggingContext loggingContext,
ReadRange readRange,
int maxEvents,
Filter filter,
Callback callback) |
void |
DistributedLogReader.getLogPrev(LoggingContext loggingContext,
ReadRange readRange,
int maxEvents,
Filter filter,
Callback callback) |
void |
FileLogReader.getLogPrev(LoggingContext loggingContext,
ReadRange readRange,
int maxEvents,
Filter filter,
Callback callback) |
void |
AvroFileReader.readLog(Location file,
Filter logFilter,
long fromTimeMs,
long toTimeMs,
int maxEvents,
Callback callback) |
Collection<LogEvent> |
AvroFileReader.readLogPrev(Location file,
Filter logFilter,
long fromTimeMs,
int maxEvents) |
Copyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.