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

JsonTemplateLayout unable to print file name, line number.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.13.1
    • None
    • JsonTemplateLayout
    • None

    Description

      as described [here](https://stackoverflow.com/questions/69211017/jsontemplatelayout-not-providing-file-name-line-number), I am unable to get the example JsonTemplateLayout working to print out file name / number. Other items such as message, thread name, etc, do work.

       

      This is using v2.14.1 of **log4j-layout-template-json.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mfreedman84 Mark F
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: