How to make a custom message converter for Log4J2
I’ve been using Log4J for many years. It is a powerful logging library that is efficient and highly customizable. You can extend the functionality with ease and do custom actions on the message prior to it being logged. Without too much chit-chat, in this article I will be showing you how to implement a custom converter for Log4J2. What is a converter? Log4J2 has multiple components that are called when a message is logged. You have the actual logger, which...