You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Tóth Csaba <ig...@domen.hu> on 2018/12/05 21:01:00 UTC

Logging the nothing?

Hello!

I write a WS client what communicate over SSL with the server. (The 
server accept the request only SSL).

I'd like to log the request, response. The request is done, but if the 
server give back nothing (the http body is empty, but there are header) 
nothing appear in the logs. No message, nothing about the chain. Last 
log entry, the message is sent, the next is from the caller of the 
client proxy: the response is null.

Is possible to send/log the empty response some exception way?

Thanx

Csaba


Re: Logging the nothing?

Posted by Colm O hEigeartaigh <co...@apache.org>.
It looks like a bug - what logging configuration are you using?

Colm.

On Wed, Dec 5, 2018 at 9:01 PM Tóth Csaba <ig...@domen.hu> wrote:

> Hello!
>
> I write a WS client what communicate over SSL with the server. (The
> server accept the request only SSL).
>
> I'd like to log the request, response. The request is done, but if the
> server give back nothing (the http body is empty, but there are header)
> nothing appear in the logs. No message, nothing about the chain. Last
> log entry, the message is sent, the next is from the caller of the
> client proxy: the response is null.
>
> Is possible to send/log the empty response some exception way?
>
> Thanx
>
> Csaba
>
>

-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com