Clean up some log messages
This commit is contained in:
parent
c739d9af2b
commit
662c34b888
|
@ -37,6 +37,7 @@ import org.elasticsearch.indices.breaker.CircuitBreakerService;
|
|||
import java.io.IOException;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
/**
|
||||
* Utility class to build global ordinals.
|
||||
|
@ -63,10 +64,10 @@ public enum GlobalOrdinalsBuilder {
|
|||
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug(
|
||||
"Global-ordinals[{}][{}] took {} ms",
|
||||
"global-ordinals [{}][{}] took [{}]",
|
||||
indexFieldData.getFieldName(),
|
||||
ordinalMap.getValueCount(),
|
||||
TimeValue.nsecToMSec(System.nanoTime() - startTimeNS)
|
||||
new TimeValue(System.nanoTime() - startTimeNS, TimeUnit.NANOSECONDS)
|
||||
);
|
||||
}
|
||||
return new InternalGlobalOrdinalsIndexFieldData(indexSettings, indexFieldData.getFieldName(),
|
||||
|
|
|
@ -209,7 +209,7 @@ public class ParentChildIndexFieldData extends AbstractIndexFieldData<AtomicPare
|
|||
breakerService.getBreaker(CircuitBreaker.FIELDDATA).addWithoutBreaking(ramBytesUsed);
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug(
|
||||
"Global-ordinals[_parent] took {}",
|
||||
"global-ordinals [_parent] took [{}]",
|
||||
new TimeValue(System.nanoTime() - startTime, TimeUnit.NANOSECONDS)
|
||||
);
|
||||
}
|
||||
|
|
|
@ -46,7 +46,7 @@ public class FsService extends AbstractComponent {
|
|||
this.probe = new FsProbe(settings, nodeEnvironment);
|
||||
TimeValue refreshInterval = REFRESH_INTERVAL_SETTING.get(settings);
|
||||
fsStatsCache = new FsInfoCache(refreshInterval, probe.stats());
|
||||
logger.debug("Using probe [{}] with refresh_interval [{}]", probe, refreshInterval);
|
||||
logger.debug("using refresh_interval [{}]", refreshInterval);
|
||||
}
|
||||
|
||||
public FsInfo stats() {
|
||||
|
|
|
@ -47,7 +47,7 @@ public class JvmService extends AbstractComponent {
|
|||
|
||||
this.refreshInterval = REFRESH_INTERVAL_SETTING.get(settings);
|
||||
|
||||
logger.debug("Using refresh_interval [{}]", refreshInterval);
|
||||
logger.debug("using refresh_interval [{}]", refreshInterval);
|
||||
}
|
||||
|
||||
public JvmInfo info() {
|
||||
|
|
|
@ -53,7 +53,7 @@ public class OsService extends AbstractComponent {
|
|||
this.info.allocatedProcessors = EsExecutors.boundedNumberOfProcessors(settings);
|
||||
|
||||
osStatsCache = new OsStatsCache(refreshInterval, probe.osStats());
|
||||
logger.debug("Using probe [{}] with refresh_interval [{}]", probe, refreshInterval);
|
||||
logger.debug("using refresh_interval [{}]", refreshInterval);
|
||||
}
|
||||
|
||||
public OsInfo info() {
|
||||
|
|
|
@ -47,7 +47,7 @@ public final class ProcessService extends AbstractComponent {
|
|||
processStatsCache = new ProcessStatsCache(refreshInterval, probe.processStats());
|
||||
this.info = probe.processInfo();
|
||||
this.info.refreshInterval = refreshInterval.millis();
|
||||
logger.debug("Using probe [{}] with refresh_interval [{}]", probe, refreshInterval);
|
||||
logger.debug("using refresh_interval [{}]", refreshInterval);
|
||||
}
|
||||
|
||||
public ProcessInfo info() {
|
||||
|
|
Loading…
Reference in New Issue