Hi Marvin,
You can set it to 'off' in the log4j.properties, an example in https://sourceforge.net/p/htmlunit/code/HEAD/tree/trunk/htmlunit/src/test/resources/log4j.properties
Ahmed
From: Marvin Desrosiers <mar...@gm...>
To: htm...@li...
Sent: Tuesday, March 22, 2016 3:16 PM
Subject: [Htmlunit-user] Invalid Cookie Header
Hi,How do I turn off the logger providing the Invalid Cookie Header?
Mar 22, 2016 9:59:56 AM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Invalid cookie header: "Set-Cookie: box_redirect_url=value; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=-1458655231; path=/; domain=.app.box.com". Negative max-age attribute: -1458655231
Mar 22, 2016 9:59:56 AM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Invalid cookie header: "Set-Cookie: box_redirect_rm=value; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=-1458655231; path=/; domain=.app.box.com". Negative max-age attribute: -1458655231
Mar 22, 2016 9:59:56 AM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Invalid cookie header: "Set-Cookie: box_referrer_url=value; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=-1458655231; path=/; domain=.app.box.com". Negative max-age attribute: -1458655231Thank you,
Marvin Desrosiers
|