In comparison to the java.util.logging we don’t really have to do any setup. By default, Log4j two will make use of the ConsoleAppender to jot down the log information to your console. The log report is going to be printed utilizing the PatternLayout connected on the outlined ConsoleAppander Using the pattern outlined as follows: %d HH:mm:ss.Log4