You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Davyd McColl (Jira)" <ji...@apache.org> on 2020/09/29 19:30:00 UTC

[jira] [Commented] (LOG4NET-606) %L in pattern prints ? instead of line number Asp.Net Core 2.1

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

Davyd McColl commented on LOG4NET-606:
--------------------------------------

[~secovel] I'm attempting to support log4net now (: so please could you report if this issue persists in the current release (2.0.11 as at time of writing). If I hear nothing within a week, I'll close out this issue in an attempt to clean up the issue board so I can make meaningful progress.

> %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)