I have http-client 4.5.2 and core 4.4.4 running on log4j2 with the
compatibility jars in place for 1.2.  I can't seem to get wire or debug
logs working.  Here's my log4j2.xml:

<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
  <Appenders>
    <Console name="STDOUT" target="SYSTEM_OUT">
      <PatternLayout pattern="[%d][%t] %-5p %c{1} - %m%n"/>
    </Console>
  </Appenders>
  <Loggers>

    <Root level="info">
      <AppenderRef ref="STDOUT"/>
    </Root>
<Logger name="org.apache.http.headers" level="debug" additivity="false">
      <AppenderRef ref="STDOUT"/>
    </Logger>
  </Loggers>
</Configuration>

I don't get any output from htto client.  Am I missing something?

Thanks
Marc

Reply via email to