Huong Dan Java Logger is a Mule ESB component, enhancing and adding new features that the default Mule ESB Logger component does not yet have.
GitHub Homepage: https://github.com/huongdanjavacom/huong-dan-java-logger-component
The difference between Mule ESB default Logger component and Huong Dan Java Logger component is:
Default Logger component
There are three things we need to configure for each endpoint of the Logger component:
- Message
- Level
- Category
The Category, we have to configure many times, although its value may be the same in a Mule application or a Mule Flow.
Huong Dan Java Logger component
Global Configuration:
In addition to the Message and Level information, similar to the default Mule ESB Logger component, the Category information in Huong Dan Java Logger has been included in the Global Configuration section so that you can reuse this Category configuration in other endpoints of Mule application. For endpoints that need to change the Category, you can configure to override the value configured in Global Configuration, using the Global Configuration Override section in the main configuration section of the Huong Dan Java Logger.
Huong Dan Java Logger also introduced a new feature that allowed the Mule Message’s Correlation Id information to be transmitted to the Mule Message log. This allows the user to identify the request having a problem in case an error occurring in their Mule application.
Of course, Huong Dan Java Logger still has good support for the configurations that need to use Mule Expression Language (MEL).
Here are the tutorials of the Huong Dan Java on how to build Huong Dan Java Logger.
We hope to receive the support and feedback from everyone to Huong Dan Java Logger better, more complete, meet the needs of users.
- Huong Dan Java Logger – Part 1 – Initialize Anypoint Connector Project for Logger
- Huong Dan Java Logger – Part 2 – Change Logger name and package name
- Huong Dan Java Logger – Part 3 – Change Mule Category for Logger
- Huong Dan Java Logger – Part 4 – Build Global Configuration
- Huong Dan Java Logger – Part 5 – Add UI for main configuration
- Huong Dan Java Logger – Part 6 – Retrieve Correlation ID and Category from the configuration
- Huong Dan Java Logger – Part 7 – Access Correlation Id from log message
- Huong Dan Java Logger – Part 8 – Retrieve Message to log
- Huong Dan Java Logger – Part 9 – Do logging
- Huong Dan Java Logger – Part 10 – Return payload after logging
- Huong Dan Java Logger – Part 11 – Release v1.0.0
- Huong Dan Java Logger – Part 12 – Install into Anypoint Studio