[ 
https://issues.apache.org/jira/browse/CXF-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13194887#comment-13194887
 ] 

Sergey Beryozkin commented on CXF-4071:
---------------------------------------

Hi All,

If needed I'm prepared to update the JAX-RS runtime (client/server) for it to 
set a contextual property
such as "org.apache.cxf.logging.extra" set to true. Logging interceptors can 
'identify' the properties which belong to the 'extra' scope and ignore them by 
default (i.e in the SOAP case). If needed the jaxws endpoints may also set such 
a property to true. That may help optimize a bit the logging data for WS cases.

But if the response code is already checked as Christian pointed out then may 
be indeed we can leave the code as is
Cheers





                
> LoggingInterceptors contain parts which are not nessecary.
> ----------------------------------------------------------
>
>                 Key: CXF-4071
>                 URL: https://issues.apache.org/jira/browse/CXF-4071
>             Project: CXF
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.5.2
>            Reporter: Michael Prieß
>            Assignee: Christian Schneider
>         Attachments: LoggingInInterceptor.java.patch, 
> LoggingOutInterceptor.java.patch
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> The LoggingInInterceptor trying to log the Message.RESPONSE_CODE, this is not 
> necessary.
> The LoggingOutInterceptor trying to log the HTTP_REQUEST_METHOD, this is not 
> necessary.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to