Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,8 @@ public CsvContent(final Client client, final RestRequest request, final ContentT
}

if (logger.isDebugEnabled()) {
logger.debug("CsvConfig: " + csvConfig + ", appendHeader: "
+ appendHeader + ", charsetName: " + charsetName
+ ", headerSet: " + headerSet);
logger.debug("CsvConfig: {}, appendHeader: {}, charsetName: {}, headerSet: {}",
csvConfig, appendHeader, charsetName, headerSet);
}
}

Expand Down Expand Up @@ -137,9 +136,8 @@ public void onResponse(final SearchResponse response) {
final int size = hits.getHits().length;
currentCount += size;
if (logger.isDebugEnabled()) {
logger.debug("scrollId: " + scrollId + ", totalHits: "
+ hits.getTotalHits() + ", hits: " + size + ", current: "
+ currentCount);
logger.debug("scrollId: {}, totalHits: {}, hits: {}, current: {}",
scrollId, hits.getTotalHits(), size, currentCount);
}
try {
for (final SearchHit hit : hits) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,8 @@ public void onResponse(final SearchResponse response) {
final int size = hits.getHits().length;
currentCount += size;
if (logger.isDebugEnabled()) {
logger.debug("scrollId: " + scrollId + ", totalHits: "
+ hits.getTotalHits() + ", hits: " + size + ", current: "
+ currentCount);
logger.debug("scrollId: {}, totalHits: {}, hits: {}, current: {}",
scrollId, hits.getTotalHits(), size, currentCount);
}
try {
for (final SearchHit hit : hits) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ public XlsContent(final Client client, final RestRequest request, final ContentT
this.isExcel2007 = isExcel2007;

if (logger.isDebugEnabled()) {
logger.debug("appendHeader: " + appendHeader + ", headerSet: "
+ headerSet + ", isExcel2007: " + isExcel2007);
logger.debug("appendHeader: {}, headerSet: {}, isExcel2007: {}",
appendHeader, headerSet, isExcel2007);
}
}

Expand Down Expand Up @@ -150,9 +150,8 @@ public void onResponse(final SearchResponse response) {

final int size = hits.getHits().length;
if (logger.isDebugEnabled()) {
logger.debug("scrollId: " + scrollId + ", totalHits: "
+ hits.getTotalHits() + ", hits: " + size
+ ", current: " + (currentRowNumber + size));
logger.debug("scrollId: {}, totalHits: {}, hits: {}, current: {}",
scrollId, hits.getTotalHits(), size, (currentRowNumber + size));
}
for (final SearchHit hit : hits) {
final Map<String, Object> sourceMap = hit.getSourceAsMap();
Expand Down