You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (Jira)" <ji...@apache.org> on 2020/04/04 22:29:03 UTC

[jira] [Updated] (LOG4NET-570) ILogExtensions don't preserve stack trace of caller

     [ https://issues.apache.org/jira/browse/LOG4NET-570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralph Goers updated LOG4NET-570:
--------------------------------

LOG4NET is now dormant.  

> ILogExtensions don't preserve stack trace of caller
> ---------------------------------------------------
>
>                 Key: LOG4NET-570
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-570
>             Project: Log4net
>          Issue Type: Improvement
>          Components: Other
>    Affects Versions: 2.0.8
>            Reporter: Ben Siron
>            Priority: Minor
>
> If you use a PatternLayout key such as %file or %method and use any of the ILogExtensions methods, the file and method (and any other info which should be showing the caller's stack frame) which are output are that of the ILogExtensions extension method rather than of the stack frame above it (the code that called ILogExtensions).
> I could supply code to fix this via a pull request which would involve calling the lower level log method directly with the appropriate stack boundary type.



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