[ 
https://issues.apache.org/jira/browse/LOG4J2-3416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506591#comment-17506591
 ] 

Ralph Goers commented on LOG4J2-3416:
-------------------------------------

I have a suspicion this is related to 
[https://bz.apache.org/bugzilla/show_bug.cgi?id=61601] which indicates the 
version you are using doesn't support multi-release jars, but I can't be sure. 
I'm also not sure why the result would be what you are seeing. With that, the 
result should be a failure when running in a JDK > 8, not a failure with Java 
8. Without a test that fails for you though we are just guessing.

> Line Number Not getting printed in log file
> -------------------------------------------
>
>                 Key: LOG4J2-3416
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3416
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 2.17.0
>            Reporter: Sagar Salal
>            Priority: Major
>         Attachments: log4j2.xml
>
>
> I am not able to print line numbers in logs. I am using 2.17.0 version and 
> using pattern
> <PatternLayout
> pattern="%d\{yyyy-MM-dd HH:mm:ss,SSS} [%t] %-5p %logger\{36}:%L %X - %m%n" />.
>  
> I have tried with multiple patterns but issue still persists. It is basically 
> neglecting *%L.* Can anyone please have a look at this?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to