/
How to Enable Logging of Full Messages for Debugging?

How to Enable Logging of Full Messages for Debugging?

By default, the Access Point application log located in /var/log/harmony-ap/domibus.log doesn't include messages sent/received by the Access Point. In some situations, logging the full messages might be required for debugging purposes. In that case, the logging configuration can be changed.

Step-by-step guide

The logging configuration can be changed by following the steps below.

  1. Open SSH connection to the Access Point host.

  2. Open the /etc/harmony-ap/logback.xml configuration file for editing.

  3. Change the org.apache.cxf logginng level from WARN to INFO.

     

    /etc/harmony-ap/logback.xml

    <!-- In order to enable logging of request/responses please change the loglevel to INFO --> <logger name="org.apache.cxf" level="INFO"/>

     

  4. Save changes and close the editor.

  5. Restart the harmony-ap service.

    sudo systemctl restart harmony-ap

     

When you're finished with debugging, don't forget to change the logging level back to "WARN".

Related articles

 

 

 

Related content