Log4j2 Console Appender Example: Patterns, Colors, JSON
Configure the Log4j2 Console appender with PatternLayout in log4j2.xml, properties or YAML, with real output. Includes colored levels, JSON logs, ThresholdFilter and fixes for a missing config file.
