public class XLogErrorStreamer extends XLogStreamer
XLogStreamer.FileInfo
Modifier and Type | Field and Description |
---|---|
static String |
STREAM_BUFFER_LEN |
bufferLen, CONF_PREFIX, gzTimePattern, logFilter, totalDataWritten
Constructor and Description |
---|
XLogErrorStreamer(Map<String,String[]> requestParameters) |
XLogErrorStreamer(XLogFilter logFilter,
Map<String,String[]> requestParameters) |
Modifier and Type | Method and Description |
---|---|
protected void |
calculateAndValidateDateRange(Date startTime,
Date endTime) |
String |
getLogDisableMessage() |
String |
getLogType() |
boolean |
isLogEnabled() |
getBufferLen, getRequestParam, getXLogFilter, makeReader, shouldFlushOutput, streamLog, streamLog
public static final String STREAM_BUFFER_LEN
public XLogErrorStreamer(XLogFilter logFilter, Map<String,String[]> requestParameters)
public XLogErrorStreamer(Map<String,String[]> requestParameters) throws CommandException
CommandException
protected void calculateAndValidateDateRange(Date startTime, Date endTime) throws IOException
calculateAndValidateDateRange
in class XLogStreamer
IOException
public boolean isLogEnabled()
isLogEnabled
in class XLogStreamer
public String getLogType()
getLogType
in class XLogStreamer
public String getLogDisableMessage()
getLogDisableMessage
in class XLogStreamer
Copyright © 2018 Apache Software Foundation. All rights reserved.