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

  • SEARCH
  • Home
  • 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 6360927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:42:40+00:00 2026-05-24T23:42:40+00:00

I use Spring which somehow relies on org.apache.commons.logging . I have got my own

  • 0

I use Spring which somehow relies on org.apache.commons.logging. I have got my own logger that already implements SLF4J and some proprietary protocol. So I’m really keen to use my logger.

In SLF4J you implement org.slf4j.impl.StaticLoggerBinder and use some factory and logger interface.

Is it the same in commons logging? Implement org.apache.commons.logging.LogFactory and use a few interfaces? Is there some reference implementation of LogFactory? Or am I thinking completely wrong here? All these different logging “standards” are driving me crazy.

Thanks

  • 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-05-24T23:42:41+00:00Added an answer on May 24, 2026 at 11:42 pm

    It should be quite easy to shut off commonslogging in Spring and integrate it with slf4j instead. At that point you can simply pass your own logger to Spring and use it through slf4j functions. You can find the information you need at paragraph 1.3.2 here.

    Also, I’m not a fan of reinventing the wheel and I would strongly suggest you to look at existing or brand new logging frameworks like LogBack for instance.

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

Sidebar

Related Questions

I have a Linq query that returns an anonymous type, which I then use
In our Spring application we use clustered Hibernate Search with ActiveMQ which sets up
I have a question, which Unicode encoding to use while encoding .NET string into
I use Spring MVC [version: 2.5] and Security[version: 2.0.4]. My problem looks like that:
I have a simple class that has a property called executor in which I'd
I have a working setup which is not strongly typed and relies on reflection.
I'm looking for a portable and easy-to-use string library for C/C++, which helps me
Helo! Is this possible to use string value of one node which tells what
I'd like to use date time format string (possibly UTC) which is understandable and
Is there any free java library which I can use to convert string in

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.