In this example we shall talk about the rootlogger, which is a basic component in Log4j. Log4j a thread-safe and flexible logging library for Java, licensed under the Apache Software Foundation. The basic components of the log4j architecture are the loggers, the appenders and the layouts. Loggers are used to log the messages, appenders to […]