Enabling request/response debug logging - EcoSys - 3.1 - Help - Hexagon

EcoSys Connect Help

Language
English
Product
EcoSys
Search by Category
Help
EcoSys Version
3.1

To aid in debugging of jobs, you can enable the logging of the request and response message that Connect sends to SOAP or OData end points. These additional log messages appears in the job execution history.

There are two ways to apply these settings.

Through the Connect UI

Follow these steps to enable debugging via the UI.

  1. Click on the System Utilities

  2. Click on the SETTINGS tab.

  3. Click the Add button to add a new setting.

  4. Enter the Property Name, Property Value, and select the Component Agent as the component the value will apply to. The valid values are:

    Purpose

    Property Name

    Property Value

    SOAP Incoming

    connect.debug.soap.logIncomingMessages.enabled

    true/false

    SOAP Outgoing

    connect.debug.soap.logOutgoingMessages.enabled

    true/false

    OData

    connect.debug.odata.logMessages.enabled

    true/false

  5. Click Apply. No restart of the Agent is required.

Through the property files (Requires access to the k8s cluster)

Follow these steps to enable debugging:

  1. Modify the connectAgent.properties file located in your GIT repository.

    1. For SOAP, set the following settings to true:

      1. connect.debug.soap.logIncomingMessages.enabled

      2. connect.debug.soap.logOutgoingMessages.enabled

    2. For OData, set the following setting to true:

      1. connect.debug.odata.logMessages.enabled

  2. Restart the Agent by running the command.

    1. For Azure AKS – ‘kubectl -n connect-agent rollout restart deployment agent’

    2. For Microk8s – ‘microk8s kubectl -n connect-agent rollout restart deployment agent’