Hello,
I have custom connector deployed and running on Java connector server. It is based on sample Forward inc. SOAP web services connector, so it is using Axis2 to communicate with endpoint. I need to log HTTP traffic (headers, requests and responses). I have tried to add:
log4j.logger.org.apache.http=DEBUG
log4j.logger.org.apache.http.wire=DEBUG
to org.ops4j.pax.logging.cfg
file
according to this article: Configuring JCS endpoint debug logging for the CA IAM CS
but have no luck. I have also tried to configure log4j loggers programatically.
org.apache.log4j.Logger httpLogger = org.apache.log4j.Logger.getLogger("org.apache.http");
httpLogger.setLevel(org.apache.log4j.Level.DEBUG);
Have anybody done this succesfully? Any help would be appreciated.
Thank you!