Skip to content

Commit

Permalink
update log format in SyncRequestInstance.class (#2274)
Browse files Browse the repository at this point in the history
update log format in SyncRequestInstance.class
  • Loading branch information
MajorHe1 authored Nov 28, 2022
1 parent eae65ad commit b2dc5e1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,18 @@ public static void main(String[] args) throws Exception {

EventMeshMessage rsp = eventMeshHttpProducer.request(eventMeshMessage, 10000);
if (logger.isDebugEnabled()) {
logger.debug("sendmsg: {}, return: {}, cost:{} ms", eventMeshMessage.getContent(), rsp.getContent(),
logger.debug("send msg: {}, return: {}, cost:{} ms", eventMeshMessage.getContent(), rsp.getContent(),
System.currentTimeMillis() - startTime);
}
} catch (Exception e) {
logger.warn("send msg failed", e);
logger.warn("send msg failed, ", e);
}

Thread.sleep(30000);
try (final EventMeshHttpProducer close = eventMeshHttpProducer) {
// close producer
} catch (Exception e1) {
logger.warn("producer shutdown exception", e1);
logger.warn("producer shutdown exception, ", e1);
}
}
}

0 comments on commit b2dc5e1

Please sign in to comment.