hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Boorshtein <mboorsht...@gmail.com>
Subject wire/header logs on log4j2?
Date Thu, 26 Jan 2017 20:08:34 GMT
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

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