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

Injectable location info

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.6.1, 2.6.2
    • Fix Version/s: None
    • Component/s: API
    • Labels:
      None

      Description

      In some JVM languages, such as Scala, it is possible to generate location info much more efficiently by using compile-time macros.

      It would be nice if it was possible to inject this location info into Log4j, and thus avoid the inefficient runtime stack inspection.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mikaelstaldal Mikael Ståldal
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: