diff --git a/broker/src/main/java/cn/wildfirechat/push/PushServer.java b/broker/src/main/java/cn/wildfirechat/push/PushServer.java index 225b3aed..4c492a72 100644 --- a/broker/src/main/java/cn/wildfirechat/push/PushServer.java +++ b/broker/src/main/java/cn/wildfirechat/push/PushServer.java @@ -57,7 +57,7 @@ public class PushServer { } public void pushMessage(PushMessage pushMessage, String deviceId, String pushContent) { - LOG.info("try to delivery push diviceId = {}, pushContent", deviceId, pushContent); + LOG.info("try to delivery push diviceId = {}, pushContent = {}", deviceId, pushContent); executorService.execute(() ->{ try { pushMessageInternel(pushMessage, deviceId, pushContent); diff --git a/broker/src/main/java/win/liyufan/im/HttpUtils.java b/broker/src/main/java/win/liyufan/im/HttpUtils.java index d0af1297..76da0056 100644 --- a/broker/src/main/java/win/liyufan/im/HttpUtils.java +++ b/broker/src/main/java/win/liyufan/im/HttpUtils.java @@ -52,7 +52,7 @@ public class HttpUtils { @Override public void onResponse(Call call, Response response) throws IOException { - LOG.info("POST to {} success with response", url, response.body().string()); + LOG.info("POST to {} success with response: {}", url, response.body()); } }); }