[ https://issues.apache.org/jira/browse/SCB-607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16488892#comment-16488892 ]
YaoHaishi commented on SCB-607: ------------------------------- To accomplish this issue, we need to achieve two subtask: # set Invocation into RoutingContext # add an AccessLogItem to get content from invocation context As when the RestProducerInvocation and EdgeInvocation is created, the Invocation is not instantiated yet. While when the Invocation is created, the code has run into AbstractRestInvocation and the RoutingContext cannot be touched directly. To achieve the subtask 1, I choose to define an AfterCreateInvocationHandler to set Invocation into RoutingContext, because I guess this may be the most flexible design. > Support printing invocation context in access log > ------------------------------------------------- > > Key: SCB-607 > URL: https://issues.apache.org/jira/browse/SCB-607 > Project: Apache ServiceComb > Issue Type: New Feature > Components: Java-Chassis > Reporter: YaoHaishi > Assignee: YaoHaishi > Priority: Major > Fix For: java-chassis-1.0.0-m2 > > > Add a new access log item to print specific invocation context content. -- This message was sent by Atlassian JIRA (v7.6.3#76005)