You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by jo...@apache.org on 2022/11/28 04:15:34 UTC
[incubator-eventmesh] branch master updated: update log format in SyncRequestInstance.class (#2274)
This is an automated email from the ASF dual-hosted git repository.
jonyang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git
The following commit(s) were added to refs/heads/master by this push:
new b2dc5e1ab update log format in SyncRequestInstance.class (#2274)
b2dc5e1ab is described below
commit b2dc5e1ab873b5f74e9e5cb45dd6978fd85b6bdb
Author: MajorHe1 <53...@users.noreply.github.com>
AuthorDate: Mon Nov 28 12:15:30 2022 +0800
update log format in SyncRequestInstance.class (#2274)
update log format in SyncRequestInstance.class
---
.../http/demo/pub/eventmeshmessage/SyncRequestInstance.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/eventmesh-examples/src/main/java/org/apache/eventmesh/http/demo/pub/eventmeshmessage/SyncRequestInstance.java b/eventmesh-examples/src/main/java/org/apache/eventmesh/http/demo/pub/eventmeshmessage/SyncRequestInstance.java
index 9077e574c..b2d780e1b 100644
--- a/eventmesh-examples/src/main/java/org/apache/eventmesh/http/demo/pub/eventmeshmessage/SyncRequestInstance.java
+++ b/eventmesh-examples/src/main/java/org/apache/eventmesh/http/demo/pub/eventmeshmessage/SyncRequestInstance.java
@@ -73,18 +73,18 @@ public class SyncRequestInstance {
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);
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org