simplechen commented on issue #4310:
URL: https://github.com/apache/shenyu/issues/4310#issuecomment-1378378525
new function
Add a new debugging mode on the gateway. When it is turned on, the client
passes the header['debug']=true of the http protocol. The gateway defines an
interface and implements this interface in each plugin to complete the
writeback of debug information. Finally, the gateway Add an attribute trace:{}
at the same level as code to the returned message to output the debugging
information of the passed plugin to the client caller, so that the caller can
judge whether the PLUGIN and rules defined by itself are correct through the
debugging information, without passing The traditional log method can be used
to locate problems, reduce one transition, and improve the efficiency of
development
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]