[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4net-dev
Subject:    [jira] [Closed] (LOG4NET-421) Inclusion of UserName in composite properties dictionary has a signifi
From:       "Dominik Psenner (JIRA)" <jira () apache ! org>
Date:       2014-03-25 13:18:23
Message-ID: JIRA.12693129.1391529961317.633.1395753503392 () arcas
[Download RAW message or body]


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

Dominik Psenner closed LOG4NET-421.
-----------------------------------

    Resolution: Duplicate

This issue is a duplicate of LOG4NET-429.

> Inclusion of UserName in composite properties dictionary has a significant \
>                 performance impact
> ---------------------------------------------------------------------------------------------
>  
> Key: LOG4NET-421
> URL: https://issues.apache.org/jira/browse/LOG4NET-421
> Project: Log4net
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.2.13
> Environment: Issue was observed on Windows Server 2008 R2 with an ASP.NET 4.0 \
>                 application.
> Reporter: Tom Voros
> Assignee: Dominik Psenner
> Labels: performance
> 
> A change made for LOG4NET-205 has the LoggingEvent.CreateCompositeProperties method \
> get the UserName property for every log event.  Since getting the UserName is very \
> slow, this change has a significant impact on performance in log4net. In one trace \
> captured with dotTrace on a large web application we found that the get UserName \
> property (called from CreateCompositeProperties) accounted for 34% of all time \
> spent in log4net code. Our workaround for the issue has been to "fix" the UserName \
> property by adding <fix value="32" /> to all our appenders.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic