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.
Open SSH connection to the Access Point host.
Open the
/etc/harmony-ap/logback.xmlconfiguration file for editing.Change the
org.apache.cxflogginng level fromWARNtoINFO./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"/>Save changes and close the editor.
Restart the
harmony-apservice.sudo systemctl restart harmony-ap
When you're finished with debugging, don't forget to change the logging level back to "WARN".
Related articles