Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

improved logging for stubs

this way we can track them down by id when they are unexpected
  • Loading branch information...
commit 1fa535c7d1b38abc51d4f70755c67e4b76d5d000 1 parent 3694d52
@mschoch mschoch authored
View
2  src/main/java/org/elasticsearch/transport/couchbase/capi/ElasticSearchCAPIBehavior.java
@@ -185,7 +185,7 @@ public boolean ensureFullCommit(String database) {
// now try to parse the decoded data as json
json = (Map<String, Object>) mapper.readValue(decodedData, Map.class);
} catch (IOException e) {
- logger.warn("Unable to parse decoded base64 data as JSON, indexing stub...");
+ logger.warn("Unable to parse decoded base64 data as JSON, indexing stub for id: {}", meta.get("id"));
json = new HashMap<String, Object>();
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.