Sean E. Covel created LOG4NET-606:
-------------------------------------

             Summary: %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


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
(v7.6.3#76005)

Reply via email to