You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Adam Davies (JIRA)" <ji...@apache.org> on 2010/07/05 22:48:52 UTC

[jira] Updated: (LOG4NET-154) Add a StackTracePatternConverter to display method calls leading up to log message

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

Adam Davies updated LOG4NET-154:
--------------------------------

    Attachment: StackTracePatternConverter.cs

There appears to be a large portion of functionality missing from StackTracePatternConverter, I have included the actual file (no patch file).  Currently the MAX/MIN functionality is missing from the build.  This file will fix this issue.

> 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: log4net - StackTrace and StackTraceDetail.zip, StackTracePatternConverter.cs, StackTracePatternConverter.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.
-
You can reply to this email to add a comment to the issue online.