
Please clone the git repo for code samples
https://github.com/saisrinu28/logging-course.git
Master MuleSoft API logging fundamentals, including log levels, log statements and categories, asynchronous logging, end-to-end tracing, cloud logging, and Splunk integration with JSON logger best practices.
Explore the MuleSoft logger component and its logging basics for easier troubleshooting. Configure priorities such as debug, info, and trace, with an optional category and log forge XML configuration.
Explore how log4j.xml configures logging by defining logger and appender sections, including console, Splunk, and cloud appenders, and how async root and sync logger determine log routing at info level.
Explore how a log statement is formed in MuleSoft, uncovering pattern layout, log levels, and components like date, thread, processor path, and correlation IDs.
Explore asynchronous logging, where log statements run on a separate thread to boost performance, and compare it with synchronous logging, which uses a single thread to preserve logs during crashes.
Implement end-to-end tracking with correlation IDs across experience, process, and system APIs, coordinating logs from queue to database to ensure traceability.
Explore the tracing module in MuleSoft api logging, using correlation ids and mdc to log source and destination cities, manage logging variables, and pass custom correlation across flows.
Understand cloud hub logging for mule apps, including per-worker logs, log4j xml, runtime manager log level control, and 100 MB per app per worker with 30-day retention and Splunk routing.
Configure and demonstrate the message logging policy in API manager, logging the payload before and after API invocation, with an optional condition and a title transformation adding Mr./Ms.
Explore how Splunk simplifies real-time Mule log analysis by aggregating, parsing, and indexing massive logs with forwarder, indexer, and search head for efficient search and troubleshooting.
Learn to integrate a Mule application with Splunk via token-based authorization and the HTTP event collector, configuring the log4j.xml appender to send logs.
Configure the json logger in Anypoint Studio to print structured logs with correlation IDs, tracepoints, and masked passwords. Route logs to Splunk and validate the setup using Postman.
Logging is one of the critical activities Mulesoft developers often ignore.
This course is designed to cover all the basic to advanced concepts of logging.
The primary audience of this course is Mulesoft developers and architects.
I presented each concept to you in a visual and easy way.
I explained the theory with presentation slides.
I run a demo session after the theory session.
provided assignments at the end of modules for the students to get hands-on experience with the concepts discussed.
I provided a presentation slide deck for every concept discussed in the course.
Test your knowledge with practicing assignments, reach out me for solutions via comments
What you will learn
concepts of Mulesoft logger component configuration.
Logging strategy to adpot in API led Architecture so logs can be traced easily
Mulesoft Tracing module
Cloudhub logging concepts
Mesage logging policy
Splunk foundations
Integration of Splunk with Mulesoft applications
JSON logger concepts
JSON logger implementation demo
Are there any course requirements or prerequisites?
This course is for Mulesoft developers, so you should have a basic understanding of Mulesoft concepts.
should have a basic understanding of Maven.
should have a basic understanding of the Anypoint platform.
Who is this course for?
Mulesoft Developers, Architects and Technical leads
This course is quite useful for the Mulesoft folks preparing for interviews and certification exams.