hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johan Hertz <jhz.mailgro...@gmail.com>
Subject Re: Cookie rejected - Log noise
Date Wed, 17 Jun 2015 12:17:47 GMT
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 <jhz.mailgroups@gmail.com 
> <mailto:jhz.mailgroups@gmail.com>>:
>
>     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 <http://priv.atos.fr>][path: /][expiry:
>     Thu Jun 15 11:23:17 CEST 2023]". Illegal domain attribute
>     "someotheraddress.fr <http://someotheraddress.fr>". Domain of
>     origin: "someaddress.com <http://someaddress.com>"
>
>     Regards
>     Johan
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
>     <mailto:httpclient-users-unsubscribe@hc.apache.org>
>     For additional commands, e-mail:
>     httpclient-users-help@hc.apache.org
>     <mailto:httpclient-users-help@hc.apache.org>
>
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message