2016-08-17 11:19 GMT+04:00 Christian Schneider <[email protected]>:

> You should also take a look at the new Logging support in:
> https://github.com/apache/cxf/tree/master/rt/features/logging
>
> http://www.liquid-reality.de/display/liquid/2015/06/08/Enter
> prise+ready+request+logging+with+CXF+3.1.0+and+elastic+search
>
> The new logging feature should also make it easier to customize the way to
> output the message.
>
>
Thanks Christian
Tried, but with same result
don't know why, but this string  String encoding =
(String)message.get(Message.ENCODING)
returns ISO-8859-1 when client sends request without charset
e.g. when cleint sends request with Content-Type:
application/json;charset=UTF-8
it is logged correctly by both loggers, new and old
and when there is no charset in request, it assumes ISO-8859-1 by default

Reply via email to