How to add verbose (debug) logging for the different Mule Modules and Connectors in Mule 4.
HTTP Connector
How to Enable Debug Trace logs for Salesforce Connector in Mule 3 and Mule 4 (Wire Logging)
FTP, SFTP and FTPS Connectors
Netsuite Connector
Amazon SQS Connector
Microsoft Dynamics 365 Connector
SAP Connector
Anypoint MQ Module
Database Module
How to Enable Mule Batch Debug Logging on Mule 3 and 4
If your Module/Connector is not on the above list, please proceed to do the following:
1. Inspect the Module/Connector dependency on the package explorer left bar. You will have to open the library and inspect its JAR files until finding one with the name of the Module/Connector. Inside that JAR, you can find all Mule-related packages. For instance, for the JMS Module, you will find a mule-jms-connector JAR as on the image below:
2. Add the following entry in your log4j2.xml file:
<Loggers>
...
<AsyncLogger name="<package>" level="DEBUG"/>
...
</Loggers>
For example, for the above JMS Module, add:
<Loggers>
...
<AsyncLogger name="org.mule.extensions.jms" level="DEBUG"/>
...
</Loggers>
3. Enable HTTP wire logging and add the following AsyncLogger to your log4j2.xml:
<AsyncLogger name="org.apache.http" level="DEBUG"/>
4. If your connector is using HTTPS, then also enable SSL debug.
001123109

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.