[ https://issues.apache.org/jira/browse/LOG4J2-3161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17416251#comment-17416251 ]
Mark F commented on LOG4J2-3161: -------------------------------- Sorry, i see I had to set `appender.console.json.locationInfoEnabled=true`. That wasn't clear in the example properties file additions. > JsonTemplateLayout unable to print file name, line number. > ---------------------------------------------------------- > > Key: LOG4J2-3161 > URL: https://issues.apache.org/jira/browse/LOG4J2-3161 > Project: Log4j 2 > Issue Type: Bug > Components: JsonTemplateLayout > Affects Versions: 2.13.1 > Reporter: Mark F > Priority: Major > > 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. -- This message was sent by Atlassian Jira (v8.3.4#803005)