From 2adc030d6f0e2ab51a95b603001a88be616ca620 Mon Sep 17 00:00:00 2001 From: heavyrain2012 Date: Wed, 27 Nov 2019 11:09:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=A5=E5=BF=97=E7=BC=BA?= =?UTF-8?q?=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- broker/src/main/java/cn/wildfirechat/push/PushServer.java | 2 +- broker/src/main/java/win/liyufan/im/HttpUtils.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/broker/src/main/java/cn/wildfirechat/push/PushServer.java b/broker/src/main/java/cn/wildfirechat/push/PushServer.java index 225b3aedb..4c492a72c 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 void init(IConfig config, ISessionsStore sessionsStore) { } 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 d0af1297a..76da0056d 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 void onFailure(Call call, IOException e) { @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()); } }); }