# Dynamic log levels and log analysis

*MuleSoft Developer II Study Guide · Implement monitorable Mule applications · Last updated November 7, 2026 · https://www.certifyforce.com/study-guide/mulesoft-developer-ii/implement-monitorable-mule-applications/dynamic-log-levels-and-log-analysis*

Change effective logging settings safely, select the right deployment and log scope, and investigate aggregated entries without confusing emission, collection and display.

- Certification: Salesforce MuleSoft Developer II
- Exam section: Implement monitorable Mule applications
- Study guide: https://www.certifyforce.com/study-guide/mulesoft-developer-ii

**Official exam objective:**

> Change log levels and aggregate and analyze logs.

## What the exam expects

- Apply level changes with the deployment's execution impact in mind.
- Separate log emission, collection, indexing and display scope.
- Configure supported external log collection for the target platform.
- Search, export and hand off the evidence needed for an incident.

A **threshold** controls emitted logging detail; **forwarding** sends entries to a platform destination; an **index** makes fields searchable; a **filter** restricts displayed results; a **deployment config** identifies an application revision's log context. Mule4.6 file configuration and CloudHub2.0 platform controls have distinct operating boundaries.

## Key facts

| Fact | Detail | Source |
|---|---|---|
| File polling | `monitorInterval` configures Log4j change checks after documented setup. | [Configuring logging](https://docs.mulesoft.com/mule-runtime/4.6/logging-in-mule) |
| CloudHub2.0 level change | Apply Changes restarts the application. | [Managing application logs](https://docs.mulesoft.com/cloudhub-2/ch2-manage-app-logs) |
| Disabled forwarding | Logs remains visible although application logs are not collected. | [Managing application logs](https://docs.mulesoft.com/cloudhub-2/ch2-manage-app-logs) |
| External appenders | Must be asynchronous; file appenders are removed. | [External logging integration](https://docs.mulesoft.com/cloudhub-2/ch2-integrate-log-system) |
| Prior revision | Select its deployment config to inspect retained records. | [Viewing log data](https://docs.mulesoft.com/cloudhub-2/ch2-view-logs) |
| Export scope | Downloads use current filters. | [Viewing log data](https://docs.mulesoft.com/cloudhub-2/ch2-view-logs) |
| Phrase intersection | Quotes plus AND require both scoped conditions. | [Log Search](https://docs.mulesoft.com/monitoring/logs-search-hf) |
| Search handoff | Save retains a named search; Share links the current query. | [Log Search](https://docs.mulesoft.com/monitoring/logs-search-hf) |

## Check yourself

- Why is a shortened Message cell insufficient evidence that the stored message is incomplete?
- When should you temporarily disable a filter instead of deleting it?
- Which action explicitly requests records before and after an interesting entry?

## Sources

- [Configuring logging, Mule4.6](https://docs.mulesoft.com/mule-runtime/4.6/logging-in-mule)
- [Managing CloudHub2.0 application logs](https://docs.mulesoft.com/cloudhub-2/ch2-manage-app-logs)
- [External Log4j integration, CloudHub2.0](https://docs.mulesoft.com/cloudhub-2/ch2-integrate-log-system)
- [Viewing deployed application logs](https://docs.mulesoft.com/cloudhub-2/ch2-view-logs)
- [Searching logs in Anypoint Monitoring](https://docs.mulesoft.com/monitoring/logs-search-hf)

## About the full unit

The "Core concepts", "Exam traps" and "Worked scenario" sections of this unit, its 11 linked practice questions, and unlimited timed mock exams are included with the MuleSoft Developer II pack (USD $19): https://www.certifyforce.com/practice-exams
