How can I stop message debug when calling API Engine ?

Hi,

Since I have migrate Bonita between 6.3.7 to 7.3.0, when I call API Bonita, I have message debug for the HTTP request made by these call…

09:48:33.509 [main] DEBUG o.a.h.i.c.PoolingClientConnectionManager - Connection request: [route: {}->http://localhost:9090][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 20] 09:48:33.544 [main] DEBUG o.a.h.i.c.PoolingClientConnectionManager - Connection leased: [id: 0][route: {}->http://localhost:9090][total kept alive: 0; route allocated: 1 of 2; total allocated: 1 of 20] 09:48:33.548 [main] DEBUG o.a.h.i.c.DefaultClientConnectionOperator - Connecting to localhost:9090 09:48:33.576 [main] DEBUG o.a.h.c.protocol.RequestAddCookies - CookieSpec selected: best-match 09:48:33.593 [main] DEBUG o.a.h.c.protocol.RequestAuthCache - Auth cache not set in the context 09:48:33.593 [main] DEBUG o.a.h.c.p.RequestTargetAuthentication - Target auth state: UNCHALLENGED 09:48:33.593 [main] DEBUG o.a.h.c.p.RequestProxyAuthentication - Proxy auth state: UNCHALLENGED 09:48:33.594 [main] DEBUG o.a.h.impl.client.DefaultHttpClient - Attempt 1 to execute request 09:48:33.594 [main] DEBUG o.a.h.i.conn.DefaultClientConnection - Sending request: POST /bonita/serverAPI/org.bonitasoft.engine.api.LoginAPI/login HTTP/1.1 09:48:33.610 [main] DEBUG org.apache.http.wire - >> "POST /bonita/serverAPI/org.bonitasoft.engine.api.LoginAPI/login HTTP/1.1[\r][\n]" 09:48:33.612 [main] DEBUG org.apache.http.wire - >> "Content-Length: 467[\r][\n]" 09:48:33.612 [main] DEBUG org.apache.http.wire - >> "Content-Type: application/x-www-form-urlencoded; charset=UTF-8[\r][\n]" 09:48:33.612 [main] DEBUG org.apache.http.wire - >> "Host: localhost:9090[\r][\n]" 09:48:33.612 [main] DEBUG org.apache.http.wire - >> "Connection: Keep-Alive[\r][\n]" 09:48:33.612 [main] DEBUG org.apache.http.wire - >> "User-Agent: Apache-HttpClient/4.2.5 (java 1.5)[\r][\n]" 09:48:33.612 [main] DEBUG org.apache.http.wire - >> "[\r][\n]" 09:48:33.612 [main] DEBUG org.apache.http.headers - >> POST /bonita/serverAPI/org.bonitasoft.engine.api.LoginAPI/login HTTP/1.1 09:48:33.612 [main] DEBUG org.apache.http.headers - >> Content-Length: 467 09:48:33.612 [main] DEBUG org.apache.http.headers - >> Content-Type: application/x-www-form-urlencoded; charset=UTF-8 09:48:33.613 [main] DEBUG org.apache.http.headers - >> Host: localhost:9090 09:48:33.613 [main] DEBUG org.apache.http.headers - >> Connection: Keep-Alive

I 'm using log4j and specifying the level WARN for the class org.apache.http in my log4j.properties doesn’t do nothing…

So how can I change the level of these messages ?

Thanks.