Java Log4j

Open-source Java projects categorized as Log4j

Top 10 Java Log4j Projects

  1. Apache Log4j 2

    Apache Log4j is a versatile, feature-rich, efficient logging API and backend for Java.

    Project mention: Most Effective Approaches for Debugging Applications | dev.to | 2025-04-27

    Structured logging transforms debugging by providing a detailed, searchable record of an application’s state, including variable values, stack traces, and user actions. According to Gartner, organizations with robust logging systems resolve production issues 40% faster. Doug Crawford, President and Founder of Best Trade Schools, highlights their value: “Implementing a structured logging system… makes isolating the problem straightforward.” Tools like Sentry for real-time error tracking, Log4j for Java applications, or ELK Stack for log aggregation enable developers to pinpoint issues quickly, reducing the need for manual reproduction. For example, Sentry’s breadcrumb feature captures user actions leading to an error, offering a clear debugging trail.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. CVE-2021-44228-PoC-log4j-bypass-words

    🐱‍💻 ✂️ 🤬 CVE-2021-44228 - LOG4J Java exploit - WAF bypass tricks

  4. log4j-detector

    A public open sourced tool. Log4J scanner that detects vulnerable Log4J versions (CVE-2021-44228, CVE-2021-45046, etc) on your file-system within any application. It is able to even find Log4J instances that are hidden several layers deep. Works on Linux, Windows, and Mac, and everywhere else Java runs, too! TAG_OS_TOOL, OWNER_KELLY, DC_PUBLIC

  5. LogCaptor

    🎯 LogCaptor captures log entries for unit and integration testing purposes

  6. Herald

    Log annotation for logging frameworks

  7. java-reverse-tcp

    JAR, Java, and JSP shells that work on Linux OS, macOS, and Windows OS.

  8. Log4jPatcher

    A mitigation for CVE-2021-44228 (log4shell) that works by patching the vulnerability at runtime. (Works with any vulnerable java software, tested with java 6 and newer)

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. cve-2021-44228-qingteng-online-patch

    Hot-patch CVE-2021-44228 by exploiting the vulnerability itself.

  11. mdc4spring

    Declarative Logging Mapping Diagnostic Context for Spring.

  12. yaslf4j

    yet another simple logging facade for java

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Java Log4j discussion

Log in or Post with

Java Log4j related posts

  • Log4j: The Pain Just Keeps Going and Going

    8 projects | news.ycombinator.com | 20 Jul 2022
  • Log4Shell Update: Severity Upgraded 3.7 -> 9.0 for Second log4j Vulnerability (CVE-2021-45046) | LunaSec - v2.15 of Log4j has an RCE

    1 project | /r/blueteamsec | 17 Dec 2021
  • Log4j 2.15.0 – Previously suggested mitigations may not be enough

    7 projects | news.ycombinator.com | 16 Dec 2021
  • Analysis of the 2nd Log4j CVE published earlier (CVE-2021-45046 / Log4Shell2)

    11 projects | news.ycombinator.com | 14 Dec 2021
  • A Blog about detection of Log4Shell

    1 project | /r/QRadar | 13 Dec 2021
  • Zero-Day RCE Vulnerability CVE-2021-44228 aka Log4Shell: What We Know So Far

    3 projects | /r/cybersecurity | 11 Dec 2021
  • CrowdSec is now able to detect and mitigate log4j CVE-2021-44228

    1 project | /r/cybersecurity | 13 Dec 2021
  • A note from our sponsor - InfluxDB
    influxdata.com | 28 Apr 2025
    Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. Learn more →

Index

What are some of the best open-source Log4j projects in Java? This list will help you:

# Project Stars
1 Apache Log4j 2 3,468
2 CVE-2021-44228-PoC-log4j-bypass-words 937
3 log4j-detector 638
4 LogCaptor 393
5 Herald 75
6 java-reverse-tcp 61
7 Log4jPatcher 47
8 cve-2021-44228-qingteng-online-patch 26
9 mdc4spring 21
10 yaslf4j 1

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Java is
the 8th most popular programming language
based on number of references?