Log4j2 Tutorial 4 – Print Logs In External File Using XML Configuration File of Log4J2
In the previous post, we have learned to configure an XML file to print logs in a console i.e. console appender. But when the execution is over your console log will be gone until you divert it into an external file. Your desired logs will be mixed with other execution logs which you don’t want. So…
Read More “Log4j2 Tutorial 4 – Print Logs In External File Using XML Configuration File of Log4J2” »