Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-311

More info at "Failed to load Class"

    Details

    • Type: Improvement
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.7.x
    • Fix Version/s: None
    • Component/s: Core API
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      When SLF4J can't load some class, it just says

      SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      SLF4J: Defaulting to no-operation (NOP) logger implementation
      SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details

      It would be very useful if it also printed out what classloader it used, and from which class it was initialized (taking this info from call stack).

      In modularized environments getting more used, this will become increasingly important. Thanks for considering.

        Attachments

          Activity

            People

            • Assignee:
              slf4j-dev SLF4J developers list
              Reporter:
              spam.trash@seznam.cz spam.trash
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: