| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
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 © 2008–2022 Apache Software Foundation. All rights reserved.