Symantec IGA

 View Only
  • 1.  Custom connector logging on JCS

    Posted Nov 16, 2023 09:24 PM


    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:

    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");

    Have anybody done this succesfully? Any help would be appreciated.

    Thank you!

  • 2.  RE: Custom connector logging on JCS

    Broadcom Employee
    Posted Nov 17, 2023 12:52 AM

    Try and configure httpclient that axis2 uses (commons httpclient or the newer version) via log4j or via environment variables.