Page 3 of 3 FirstFirst 123
Results 21 to 22 of 22

Thread: Remove Commons Logging in favor of Log4j 1.3 UGLI

  1. #21
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    667

    Default But JCL isn't a logging implementation...

    Quote Originally Posted by jbetancourt
    I vote for removing JCL use in Spring. Perhaps Spring should eat its own dog food and have the logging implementation injected into it.
    JCL is an abstraction layer, not an implementation. The sole purpose of JCL is to decouple your app from any specific logging implementation. So by using JCL, Spring is already eating its own dog food. Or would you have Spring reinvent the wheel by providing its own logging abstraction layer?

    Andrew
    Andrew Swan
    "Now is the EJB of our discontent made glorious Spring"

  2. #22
    Join Date
    Aug 2004
    Location
    u.s.a
    Posts
    399

    Default

    Excellent point. However, in this case reinventing the wheel may make sense.
    Spring could have used other stuff too, like commons BeanUtils, but it does its own.

    Though, if the latest commons logging fixed the reported problems, there is no need.

Similar Threads

  1. Log4j, Commons Logging in JRun 4 problem
    By virgo_ct in forum Container
    Replies: 4
    Last Post: Jul 13th, 2005, 04:17 AM
  2. Stop Spring Logging
    By jgchristopher in forum Container
    Replies: 6
    Last Post: Dec 8th, 2004, 10:32 AM
  3. Spring Framework DEBUG logging with Log4J
    By lukasbradley in forum Container
    Replies: 4
    Last Post: Nov 29th, 2004, 06:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •