In comparison to the java.util.logging we don’t have to do any setup. By default, Log4j 2 will utilize the ConsoleAppender to write the log message on the console. The log document is going to be printed using the PatternLayout attached on the outlined ConsoleAppander With all the sample defined as follows: %d HH:mm:ss.Log4J two supports custom m