Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Log4j a dead project? [closed]

I recently ended up in a bit of a mess on one of the projects I work on, a "mélange" of Log4j, Slf4j and Commons-Logging due to mixing different JARs from different open source projects.

I see more and more OS projects slowly moving to Slf4j. Logback seems to be the successor of Log4j. I think it's actually a fork, but since no further development are anticipated for Log4j 1.3 and Log4j 2.0 is an experimental development and don't know if it will ever leave that state... I wonder!!!

Is Log4j dead?

like image 720
maktoon Avatar asked Aug 03 '11 12:08

maktoon


People also ask

Is Apache Log4j open source?

The Apache Log4j Project is among the most deployed pieces of open source software, providing logging capabilities for Java applications. Log4j is part of the Apache Logging Services Project -- an open source effort within the Apache Software Foundation.

What Log4j used for?

log4j is a tool to help the programmer output log statements to a variety of output targets. In case of problems with an application, it is helpful to enable logging so that the problem can be located. With log4j it is possible to enable logging at runtime without modifying the application binary.

Who made Log4j?

Apache Log4j is a Java-based logging utility originally written by Ceki Gülcü. It is part of the Apache Logging Services, a project of the Apache Software Foundation. Log4j is one of several Java logging frameworks.


1 Answers

No.

Mature, complete, stable - none of these are synonyms for "dead".

Deprecated, superceded - perhaps this is what you meant? Is Log4j superceded by Slf4j? Given that Slf4j implements a wrapper for Log4j... probably not. It's just an alternative way to use Log4j.

Log4j is robust, stable, widely accepted and in production use across the globe.

Logback is intended to be a successor for Log4j but has not yet had equivalent exposure. Slf4j allows you to abstract out the logging framework.

like image 180
Charles Goodwin Avatar answered Oct 29 '22 12:10

Charles Goodwin