Commit 8a537e25 authored by 赵啸非's avatar 赵啸非

修改网关日志

parent 364550b6
......@@ -97,6 +97,7 @@ public class GlobalLogFilter implements GlobalFilter, Ordered {
accessLogPdu.setLogTime(new Date());
accessLogPdu.setMethod(method);
accessLogPdu.setUri(path);
accessLogPdu.setTraceID(traceId);
messageProducer.syncAccessSend(accessLogPdu);
exchange.getAttributes().put(START_TIME, System.currentTimeMillis());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment