openutils-log4j

OpenMindlab logo

Openutils-log4j is composed by a set of utility for log4j and log4j2. This project is supposed to support both log4j and log4j2 features so that:

  • migration to log4j2 should be easier
  • declaring log4j version is just a matter of a maven dependency declaration

Features log4j(1)

  • AlternateSMTPAppender
  • EnhancedDailyRollingFileAppender
  • FilteredPatternLayout
  • Log4jConfigurationServlet

Features log4j2

About Unit tests

Due to maven classpath for test uniqueness, it's impossible to change log4j dependency based upon class. Only log4j2 tests are currently supported. Old log4j tests will be simply ignored