Skip to content

Commit 02f3455

Browse files
author
Guillaume Arnaud
committed
minor change on log debug
1 parent 47dfc26 commit 02f3455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/github/brainlag/nsq/lookup/DefaultNSQLookup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public Set<ServerAddress> lookup(String topic) {
3333
ObjectMapper mapper = new ObjectMapper();
3434
String topicEncoded = URLEncoder.encode(topic, Charsets.UTF_8.name());
3535
JsonNode jsonNode = mapper.readTree(new URL(addr + "/lookup?topic=" + topicEncoded));
36-
LogManager.getLogger(this).debug("Server connection information: " + jsonNode.toString());
36+
LogManager.getLogger(this).debug("Server connection information: {}", jsonNode);
3737
JsonNode producers = jsonNode.get("data").get("producers");
3838
for (JsonNode node : producers) {
3939
String host = node.get("broadcast_address").asText();

0 commit comments

Comments
 (0)