修改日志缺陷

This commit is contained in:
heavyrain2012
2019-11-27 11:09:07 +08:00
parent b0ca8ed2b7
commit 2adc030d6f
2 changed files with 2 additions and 2 deletions
@@ -57,7 +57,7 @@ public class PushServer {
} }
public void pushMessage(PushMessage pushMessage, String deviceId, String pushContent) { 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(() ->{ executorService.execute(() ->{
try { try {
pushMessageInternel(pushMessage, deviceId, pushContent); pushMessageInternel(pushMessage, deviceId, pushContent);
@@ -52,7 +52,7 @@ public class HttpUtils {
@Override @Override
public void onResponse(Call call, Response response) throws IOException { 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());
} }
}); });
} }