<logger message="Just info message: the payload was set" level="INFO" doc:name="Logger INFO"/>It is recommended to have 2 or more logging components in a sequence but with different logging levels, e.g., INFO and DEBUG and different categories defined:
<logger message="Just info message: the payload was set" level="INFO" category="com.mulesoft.support.logging-levels-poc.info" doc:name="Logger INFO"/> <logger message="The payload is: #[payload]" level="DEBUG" category="com.mulesoft.support.logging-levels-poc.debug" doc:name="Logger DEBUG"/>As a result, by default, the application will log only INFO level informative messages.
<Loggers>
...
<!-- TRUNCATED -->
...
<!-- Custom DEBUG logger -->
<AsyncLogger name="com.mulesoft.support.logging-levels-poc.debug" level="DEBUG"/>
...
<!-- TRUNCATED -->
...
</Loggers>
Or, if an application is deployed via Anypoint Runtime Manager (including Anypoint Platform Private Cloud Edition) to CloudHub, On-premise, by changing on Settings page -> Logging tab similar to:
com.mulesoft.support.logging-levels-poc.debug=DEBUG
001114712

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.