Uploaded image for project: 'Commons Logging'
  1. Commons Logging
  2. LOGGING-83

[logging] Enhance error message for " org.apache.commons.logging.impl.Log4JLogger does not implement Log"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.3
    • 1.0.4
    • None
    • Operating System: All
      Platform: All

    • 25156

    Description

      After moving from struts1.0 to struts1.1 I got the same error message as in the
      above mailing list discussion thread.

      Couldn't the error message contain the names of the two jar files?
      Even better if it hinted on what to do or provided a link to an explanation page!

      http://jakarta.apache.org/commons/logging/userguide.html#Configuring%20the%20Logger%20Implementation
      didn't really provide any help?

      So shall I remove the
      -rwxr-xr-x 1 root root 218864 Dec 2 15:37 WEB-INF/lib/log4j.jar
      or the
      rw-rr- 1 root root 31605 Dec 2 16:05
      WEB-INF/lib/commons-logging.jar

      Since all went well with log4j so far and the file is bigger, I am inclined to
      dump commons-logging.jar.
      On the other hand, since I am a new user of commons-dbcp-1.1.jar, that one may
      rely on its own logger - so perhaps I will run into trouble due to that?
      Anyway, help would be highly appreciated!

      Attachments

        Activity

          People

            Unassigned Unassigned
            ralfhauser Ralf Hauser
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: