Migrating off of Log4j 2.x

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • logging-capabilities

  • If you're using Gradle, I cannot recommend Louis Jacomet's logging-capabilities plugin enough!

  • SLF4J

    Simple Logging Facade for Java

  • If you're in a situation where you only depend on the APIs exposed by log4j-api (put simply: LogManager, Logger, Level, and possibly ThreadContext and/or Marker), or even use Slf4j instead (with log4j-slf4j-impl), you're in good conditions, but it's not enough.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • Logback

    The reliable, generic, fast and flexible logging framework for Java.

  • Dependencing on the project, changing the logger might range from easy peasy to a multi-week task. I'm ready to bet that in many (most?) cases, it'd actually be quite easy, so let's explore how to do it, using Logback as the target (there aren't that many alternatives actually).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts