Log4j2 Tutorial 4 – Print Logs In External File Using XML Configuration File of Log4J2 Introduction In the previous post, we have learned to configure an XML file to print logs in a console i.e. console… Continue reading “Log4j2 Tutorial 4 – Print Logs In External File Using XML Configuration File of Log4J2”…
Log4j2 Tutorial 2 – Creating Log4j2 Maven Project With Default Configuration File Introduction We have already seen why Logger is important and why it should be part of your project. Whether you… Continue reading “Log4j2 Tutorial 2 – Creating Log4j2 Maven Project With Default Configuration File”…
Log4j2 Tutorial 1 – Introduction To Apache Log4j2 Why we need Loggers? Let’s start with a scenario. Suppose you are developing an E-commerce application. There will be many… Continue reading “Log4j2 Tutorial 1 – Introduction To Apache Log4j2”…