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

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

I have to do -1 on dropping the response code too.
For example, see http://cxf.apache.org/docs/jax-rs-oauth.html

it shows clearly 303, etc, we can get 204 and the consumer can be a browser so 
the useful piece of logging will be lost.

For SOAP you can get 200 & 500.

I suggest to get Logging interceptors to ignore the requests/responses only if 
a certain property is set and get SOAP interceptors set such a property 
                
> LoggingInterceptors contain parts which are not nessecary.
> ----------------------------------------------------------
>
>                 Key: CXF-4071
>                 URL: https://issues.apache.org/jira/browse/CXF-4071
>             Project: CXF
>          Issue Type: Bug
>          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