logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Debraj Manna <subharaj.ma...@gmail.com>
Subject Re: Difference between slf4j-log4j12 vs log4j
Date Thu, 30 Nov 2017 14:10:59 GMT
Thanks Ralph.

On Thu, Nov 30, 2017 at 7:35 PM, Ralph Goers <ralph.goers@dslextreme.com>
wrote:

> The log4j artifact is the log4j 1 implementation. slf4j-log4j12 is the
> adapter slf4j uses to bind the SLF4J API to log4j 1.
>
> FWIW, you shouldn’t be using either of these. Log4j 1 reached end-of-life
> two years ago and isn’t supported by anyone.
>
> Ralph
>
>
> > On Nov 30, 2017, at 6:32 AM, Debraj Manna <subharaj.manna@gmail.com>
> wrote:
> >
> > Crossposting from stackoverflow
> > <https://stackoverflow.com/questions/47574644/difference-
> between-slf4j-log4j12-vs-log4j>
> >
> > In a project's pom.xml I am seeing a dependency like below
> >
> > <dependency>
> >        <groupId>org.slf4j</groupId>
> >        <artifactId>slf4j-api</artifactId>
> >        <version>1.7.5</version>
> >    </dependency>
> >    <dependency>
> >        <groupId>org.slf4j</groupId>
> >        <artifactId>slf4j-log4j12</artifactId>
> >        <version>1.7.5</version>
> >    </dependency>
> >    <dependency>
> >        <groupId>log4j</groupId>
> >        <artifactId>log4j</artifactId>
> >        <version>1.2.17</version>
> >    </dependency>
> >
> >
> > Can someone let me know what is the difference between slf-log4j12 &
> log4j ?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message