cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] [Commented] (CXF-5377) LoggingInInterceptor is not logging the URL for SOAP or REST non-HTTP requests
Date Tue, 19 Nov 2013 13:45:21 GMT


Sergey Beryozkin commented on CXF-5377:

Hi Mandy, no problems, thanks for the feedback.
I've just committed more updates the trunk/2.7.x, you should see the consistent reporting
of the request URI on the client and server sides for Local (and other non HTTP) transports,
example, you should see
Address: local://flsc/v1/locations/xxx

on the client & server sides which is consistent with HTTP transports where an absolute
URI is reported.

Note LoggingOutInterceptor reports the request URI on the client side and LoggingInInterceptor
reports it on the server side;

Thanks, Sergey

> LoggingInInterceptor is not logging the URL for SOAP or REST non-HTTP requests 
> -------------------------------------------------------------------------------
>                 Key: CXF-5377
>                 URL:
>             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

View raw message