Yes, it is about cookies that you receive from the server you are calling
using HttpClient. HttpClient is trying to handle the cookies sent by the
server you are calling just like a regular browser would do.

Logging configuration is described extensively here:
https://hc.apache.org/httpcomponents-client-ga/logging.html
It depends which logging library you are using on your project
(commons-logging, log4j...).

2015-06-17 14:17 GMT+02:00 <[email protected]>:

>  Hi Francois,
>
> It is receiving the cookies I think? I am not actively send any cookies
> but the HttpClient might be doing it for me (in the background).
>
> How do I set the log configuration for ResponseProcessCookies?
>
> Regards
> Johan
>
>
> On 2015-06-17 11:59, Francois-Xavier Bonnet wrote:
>
> Hi Johan,
>
>  This warning is logged by class
> org.apache.http.client.protocol.ResponseProcessCookies. You just have to
> set this category to ERROR level in the log configuration and you will not
> get anymore warnings about invalid cookies.
> But in the first place is it normal that your application is sending
> invalid cookies?
>
>
> 2015-06-17 11:30 GMT+02:00 Johan Hertz <[email protected]>:
>
>> Hi,
>>
>> I get a lot of log noise in the form of cookie rejected messages (see
>> below), can I disable this from being written to the log?
>>
>> Cookie rejected: "[version: 0][name: SessionStatId][value: **][domain: .
>> priv.atos.fr][path: /][expiry: Thu Jun 15 11:23:17 CEST 2023]". Illegal
>> domain attribute "someotheraddress.fr". Domain of origin: "
>> someaddress.com"
>>
>> Regards
>> Johan
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
>

Reply via email to