You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Mandy Warren <ma...@gmail.com> on 2013/11/05 22:31:26 UTC

Bug in LoggingInInterceptor?

Hi it looks like there is a bug with the LoggingInInterceptor when using local transport. As you can see by the output the URL is not logged.

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]}

If I use Http it logs fine.

Should I raise this as a Jira? 

Many thanks
Mandy 

Re: Bug in LoggingInInterceptor?

Posted by Mandy Warren <ma...@gmail.com>.
Thanks Sergey I have raised the following Jira:

https://issues.apache.org/jira/browse/CXF-5377

Sent from a mobile device

> On 5 Nov 2013, at 22:25, Sergey Beryozkin <sb...@gmail.com> wrote:
> 
> Hi Mandy
>> On 05/11/13 21:31, Mandy Warren wrote:
>> Hi it looks like there is a bug with the LoggingInInterceptor when using local transport. As you can see by the output the URL is not logged.
>> 
>> 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]}
>> 
>> If I use Http it logs fine.
>> 
>> Should I raise this as a Jira?
> Yes please. I believe with non HTTP transports a request URL is usually identical to the endpoint's address (with extra properties possible), it has to be reported
> 
> Thanks, Sergey
> 
>> Many thanks
>> Mandy
> 
> 

Re: Bug in LoggingInInterceptor?

Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi Mandy
On 05/11/13 21:31, Mandy Warren wrote:
> Hi it looks like there is a bug with the LoggingInInterceptor when using local transport. As you can see by the output the URL is not logged.
>
> 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]}
>
> If I use Http it logs fine.
>
> Should I raise this as a Jira?
>
Yes please. I believe with non HTTP transports a request URL is usually 
identical to the endpoint's address (with extra properties possible), it 
has to be reported

Thanks, Sergey

> Many thanks
> Mandy
>