Compared to the java.util.logging we don’t really have to do any setup. By default, Log4j 2 will make use of the ConsoleAppender to write the log concept to your console. The log history will probably be printed using the PatternLayout hooked up towards the pointed out ConsoleAppander Along with the sample described as follows: %d HH:mm:ss.Situs