Enable debug logging

To enable debug logging of an integration template, follow these steps:

  1. In Anypoint Studio, open your Integration templates.
  2. Locate log4j2.xml and and double-click the file.

    The default location is scr/main/resources.

    The details of the file appear on the canvas.

  3. In the Node column, right-click Loggers, click Add Child and select AsyncLogger.
  4. Expand Loggers and locate AsyncLogger that is empty, which means it doesn't have the expand icon.
  5. Right-click the empty AsyncLogger, click Add Attribute and select name.
  6. Double-click the corresponding Content field and enter com.collibra.connect.
  7. Right-click the empty AsyncLogger, click Add Attribute and select level.
  8. Double-click the corresponding Content field and enter DEBUG.
  9. Save the file.

  10. Run the integration template to gather debug information.

Full information about calls and parameters that are made, along with the responses sent by the Collibra DGC instance, is available in the Collibra Console log.