Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
MetricsLoggerTask(org.apache.commons.logging.Log metricsLog,
String nodeName,
short maxLogLineLength) |
Modifier and Type | Method and Description |
---|---|
static void |
makeMetricsLoggerAsync(org.apache.commons.logging.Log metricsLog)
Make the metrics logger async and add all pre-existing appenders to the
async appender.
|
void |
run()
Write metrics to the metrics appender when invoked.
|
public MetricsLoggerTask(org.apache.commons.logging.Log metricsLog, String nodeName, short maxLogLineLength)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.