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

Skip SubstituteLogger from caller data (slf4j-jdk14)

    XMLWordPrintable

    Details

      Description

      When using SubstituteLogger with JDK14LoggerAdapter (obtained regularly via LoggerFactory) the output always gives SubstituteLogger as the caller. A programmer would be interested in the class/method of his code.

      The issue is that JDK14LoggerAdapter.fillCallerData() does not take into account that SubstituteLogger can be the direct caller, and it is needed to go one level deeper.

      This issue is similar to one reported to LogBack.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ceki Ceki Gülcü
              Reporter:
              alexander-yevsyukov Alexander Yevsyukov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: