We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47dfc26 commit 02f3455Copy full SHA for 02f3455
src/main/java/com/github/brainlag/nsq/lookup/DefaultNSQLookup.java
@@ -33,7 +33,7 @@ public Set<ServerAddress> lookup(String topic) {
33
ObjectMapper mapper = new ObjectMapper();
34
String topicEncoded = URLEncoder.encode(topic, Charsets.UTF_8.name());
35
JsonNode jsonNode = mapper.readTree(new URL(addr + "/lookup?topic=" + topicEncoded));
36
- LogManager.getLogger(this).debug("Server connection information: " + jsonNode.toString());
+ LogManager.getLogger(this).debug("Server connection information: {}", jsonNode);
37
JsonNode producers = jsonNode.get("data").get("producers");
38
for (JsonNode node : producers) {
39
String host = node.get("broadcast_address").asText();
0 commit comments