Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8442353
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:49:35+00:00 2026-06-10T08:49:35+00:00

So I just found out today that Log4J 2.0 is now actively being developed,

  • 0

So I just found out today that Log4J 2.0 is now actively being developed, there is an alpha version and it is said to replace logback.

Right now in my app I have close to 4 maybe more logging frameworks:

  • Java Util Logging
  • log4j
  • slf4j
  • logback (ignored thanks to a maven provided hack)
  • commons logging (ignored thanks to a maven provided hack)
  • And tomcat has its own JULI adapter

I have been using log4j (1.2.x) because frankly I just haven’t needed the features of the newer guys but I have been tempted lately to switch to SLF4J and mainly because I don’t want to have rewrite my complicated log4j configurations files to a new format (logback).

Now my question is in terms of what I should code against is SLF4J the right choice for the future given log4j 2.0.

It seems like I should just stick with old log4j (1.2.x) as it is the lowest common denominator?

UPDATE: on further examination of log4j 2.0 while very similar it appears the configuration is not backward compatible with log4j 1.2. Looks like logback is the best choice.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T08:49:36+00:00Added an answer on June 10, 2026 at 8:49 am

    It’s a subjective question.

    I’d suggest using slf4j, since it can use log4j as a backend if that’s what you need.

    You’re likely to be using a number of components which may all use different logging APIs. It’s good to be able to consolidate the output via those APIs into a single output route.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I just found out today that you can use <base href=/> to specify
I just found out today that WPF will ignore CultureInfo.CurrentCulture and always use en-US.
Ive just tryed some things out with my new server today, and ive found
Just found out that the video output of the iPad is not a system
I just found out that every time onclick event for my <button> placed inside
I just found out that in FF, if you are dynamically creating an OPTION
I just found out this today: If I have an existing file named a111,
Earlier today I was discussing with someone that I found out you can use
I literally just found out about Node.js today and I've done so much reading
Today I found out that putting strings in a resource file will cause them

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.