修改日志缺陷
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user