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

Sean E. Covel commented on LOG4NET-606:
---------------------------------------

In my case the unwillingness, or inability to update Log4Net, evidenced by the 
backlog of pull requests forced me to come up with my own solution.  I (badly) 
hacked together the few things I needed to support 2.0, and moved on. 

> %L in pattern prints ? instead of line number Asp.Net Core 2.1
> --------------------------------------------------------------
>
>                 Key: LOG4NET-606
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-606
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 2.0.8
>         Environment: MacOs 10, Windows 7, RHEL 7, ASP.Net Core 2.1
>            Reporter: Sean E. Covel
>            Priority: Major
>
> using %L in conversion pattern results in a ?, not the line number.
> <layout type="log4net.Layout.PatternLayout, log4net">
>  <conversionPattern value="%d\{yyyy-MM-dd'T'HH:mm:ss.fff'Z'} %-5p 
> [%property\{server_name} %property\{service_name} %property\{service_port} 
> %property\{CorrelationId}][%t] %c\{5}:%L - %m%n"/>
> </layout>
> 2018-07-19T10:24:19.251Z DEBUG [L74F00-PC08PHCSt customer_V1-0-0 8088 
> (null)][26] InfluxDbClient:? - WritePointUdpAsync storage_event
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to