Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2275

ExtendedLogger API should expose trace entry/exit with FQCN

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.10.0
    • Fix Version/s: None
    • Component/s: API, Kotlin API
    • Labels:
      None

      Description

      The ExtendedLogger interface does not currently have a way to call trace entry/exit with a FQCN value.

      This means that logger wrappers cannot set their FQCN when calling these methods, making correct location-aware logging for trace entry/exit impossible for wrappers.

      This was discovered during implementation of the log4j2 Kotlin API in LOG42-1705.

      cc: [~jvz]

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rocketraman Raman Gupta
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: