Apache logging services logo Apache log4j logo

Log4j 2 Implementation

The Log4Jj 2 implementation provides the functional components of the logging system. Users are free to create their own plugins and include them in the logging configuration.

Requirements

Log4j 2 requires Java 6. Some features may require optional dependencies. These dependencies are specified in the documentation for those features.

  • JSON configuration requires the Jackson JSON-processor.
  • Async Loggers require the LMAX Disruptor.
  • SMTPAppender requires Javax Mail.
  • JMSQueueAppender and JMSTopicAppender require a JMS implementation like Apache ActiveMQ.
  • Windows color support requires Jansi.