How to change the log4J level for the Java High Rest API client


(Johnny Hujol) #1

Hi all,
when I'm running the Java high REST client I see all these logs:
18:28:13.991 [I/O dispatcher 17] DEBUG org.apache.http.wire - http-outgoing-2 << " ][\n]"
18:28:13.991 [I/O dispatcher 17] DEBUG org.apache.http.wire - http-outgoing-2 << " }[\n]"
18:28:13.991 [I/O dispatcher 17] DEBUG org.apache.http.wire - http-outgoing-2 << " ][\n]"
18:28:13.991 [I/O dispatcher 17] DEBUG org.apache.http.wire - http-outgoing-2 << " }[\n]"
18:28:13.991 [I/O dispatcher 17] DEBUG org.apache.http.wire - http-outgoing-2 << " ][\n]"
18:28:13.991 [I/O dispatcher 17] DEBUG org.apache.http.wire - http-outgoing-2 << " }[\n]"
18:28:13.991 [I/O dispatcher 17] DEBUG org.apache.http.wire - http-outgoing-2 << " }[\n]"
18:28:13.991 [I/O dispatcher 17] DEBUG org.apache.http.wire - http-outgoing-2 << " ][\n]"
18:28:13.991 [I/O dispatcher 17] DEBUG org.apache.http.wire - http-outgoing-2 << "}}"
and I configured my log4j2.yml file like this

  - name: org.apache.http.wire
    level: info

But it does not work.

I'm obviously missing something, what is it please?

Best,
jh


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.