JeffAyers

updated

14 years ago

J

JeffAyers

7 Posts

0

1133

September 11th, 2012 12:00

Logging Atmos Java API HttpClient calls

Its my understanding that Atmos Java API uses Apache HttpClient to make REST calls. Since HttpClient can log to the console (see http://hc.apache.org/httpcomponents-client-ga/logging.html), I was hopeful to see the GET commands in my Eclipse console by adding to my log4j.properties file:

           log4j.logger.org.apache.http=DEBUG

I know the logging works since I deliberatedly added a few logging lines to make sure log4j was setup correctly. Any ideas would be appreciated.

Sincerely,

Jeff