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

Sergey Beryozkin commented on CXF-5377:
---------------------------------------

Hi Mandy

I've updated the in interceptor to log a REQUEST_URI property if no REQUEST_URL 
property is available, this works for JAX-RS, can you please give me a favor 
and try it for your JAX-RS and JAX-WS  tests. JAX-WS clients may not be setting 
REQUEST_URI, but may be it is fine for WS because for WS a call via a local 
transport means it is probably a "/" path an thus it can be assumed to be "/" 
as default ?

Cheers, Sergey

> LoggingInInterceptor is not logging the URL for SOAP or REST non-HTTP 
> requests 
> -------------------------------------------------------------------------------
>
>                 Key: CXF-5377
>                 URL: https://issues.apache.org/jira/browse/CXF-5377
>             Project: CXF
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 2.7.7
>         Environment: All
>            Reporter: Mandy Warren
>            Priority: Minor
>
> When you use local transport, the LoggingInInterceptor does not log the URL. 
> Please see the output below. 
> 21:13:05.837 [test-rs] [main] INFO  o.a.c.t.local.LocalTransportFactory - 
> Creating destination for address local://abcd
> 21:13:05.838 [test-rs] [main] INFO  org.apache.cxf.endpoint.ServerImpl - 
> Setting the server's publish address to be local://abcd
> 21:13:05.849 [test-rs] [main] INFO  o.a.c.i.LoggingInInterceptor - Inbound 
> Message
> ----------------------------
> ID: 2
> Http-Method: GET
> Content-Type: application/json
> Headers: {Content-Type=[application/json], Accept=[application/json]}
> --------------------------------------
> The URL is logged for HTTP transport.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to