[
https://issues.apache.org/jira/browse/LOG4NET-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13103474#comment-13103474
]
Stefan Bodewig commented on LOG4NET-154:
----------------------------------------
I've had a look at Adam's (MAX|MIN) contribution and would suggest some
improvements (in particular in the light of Lars' comments further up).
Therefore I've opened LOG4NET-314 - which will not be part of the 1.2.11
release - and intend to close this issue as soon as the docs are in.
> Add a StackTracePatternConverter to display method calls leading up to log
> message
> ----------------------------------------------------------------------------------
>
> Key: LOG4NET-154
> URL: https://issues.apache.org/jira/browse/LOG4NET-154
> Project: Log4net
> Issue Type: New Feature
> Reporter: Ron Grabowski
> Assignee: Ron Grabowski
> Fix For: 1.2.11
>
> Attachments: StackTracePatternConverter.cs,
> StackTracePatternConverter.zip, log4net - StackTrace and StackTraceDetail.zip
>
>
> Modify LocationInfo to save StackTrace information and make it available as
> StackTracePatternConverter to display call stack leading up to the log
> message:
> log.Debug("Item Saved");
>
> [%stackTrace{3}] %message%newline
> [default_aspx.btnSubmit_Click > productController.Save >
> productService.Save] Item Saved
> This will probably be a slow pattern converter on par with other LocationInfo
> derived pattern converters.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira