public class DailyKeyOutWriter extends KeyOutWriter
DEFAULT_DELIMITER, LOG_IO_BUFFER_SIZE_BYTES, LOG_PATTERN, log4jLoggerFactory, logger, loggers, MAX_LOG_BACKUP_FILES, MAX_LOG_FILE_SIZE, SETTING_DELIMITER, SETTING_MAX_BACK_FILES, SETTING_MAX_LOG_FILE_SIZEBINARY_PATH, BOOLEAN_AS_NUMBER, DEBUG, HOST, OUTPUT_FILE, PORT, TEMPLATE_FILE, TYPE_NAMES| Constructor and Description |
|---|
DailyKeyOutWriter(com.google.common.collect.ImmutableList<String> typeNames,
boolean booleanAsNumber,
Boolean debugEnabled,
String outputFile,
String maxLogFileSize,
int maxLogBackupFiles,
String delimiter,
String datePattern,
Map<String,Object> settings) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.log4j.Appender |
buildLog4jAppender(String fileStr,
String maxLogFileSize,
Integer maxLogBackupFiles)
The maxLogFileSize and maxLogBackupFiles are ignored as per the existing behaviour of DailyKeyOutWriter.
|
protected String |
buildLoggerName() |
String |
getDatePattern() |
buildLog4jLoggerFactory, getDelimiter, getMaxLogBackupFiles, getMaxLogFileSize, getOutputFile, initLogger, internalWrite, validateSetupclose, create, doWrite, firstNonNull, getConcatedTypeNameValues, getSettings, getTypeNames, isDebugEnabled, start, toStringprotected org.apache.log4j.Appender buildLog4jAppender(String fileStr, String maxLogFileSize, Integer maxLogBackupFiles) throws IOException
buildLog4jAppender in class KeyOutWriterIOExceptionprotected String buildLoggerName()
buildLoggerName in class KeyOutWriterpublic String getDatePattern()
Copyright © 2010-2017 JmxTrans team. All Rights Reserved.