[
https://issues.apache.org/jira/browse/LOG4NET-429?focusedWorklogId=669427&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-669427
]
ASF GitHub Bot logged work on LOG4NET-429:
------------------------------------------
Author: ASF GitHub Bot
Created on: 25/Oct/21 09:56
Start Date: 25/Oct/21 09:56
Worklog Time Spent: 10m
Work Description: fluffynuts commented on pull request #45:
URL: https://github.com/apache/logging-log4net/pull/45#issuecomment-950742464
Good day
It's been quite a while since this PR last saw activity. In an attempt to
get pull requests under some semblance of
order, I'm having to make the uncomfortable decision to jettison pull
requests which have been dormant for quite some
time. Perhaps arbitrarily, I'm choosing all pull requests which have not
seen activity this year (2021), most of
which are marked as not building or have conflicts with the main branch.
This is _not_ because the contributions aren't valuable - it's simply a
matter of being the only person spending
some time on this and being a little overwhelmed. I'd rather get some
traction on newer issues than continue
to try to understand, upgrade and work through PRs which don't build or
which conflict with the main branch,
or which simply may have been solved in the mean time.
I encourage you to re-submit the PR against the current main branch if the
issue is still significant. Your
contributions are appreciated. I apologise for any inconvenience caused and
sincerely hope that you understand
the constraints involved which have brought me to the place of making this
decision.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 669427)
Time Spent: 1h 50m (was: 1h 40m)
> Pattern with Context property causes severe slowdown
> ----------------------------------------------------
>
> Key: LOG4NET-429
> URL: https://issues.apache.org/jira/browse/LOG4NET-429
> Project: Log4net
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.2.13
> Reporter: Jonas Versén
> Assignee: Dominik Psenner
> Priority: Minor
> Labels: performance
> Attachments: LOG4NET-429-alternative.patch, LOG4NET-429.patch
>
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> If you use a context property in your appenders pattern, there will be a
> significant logging slowdown. In my experience anywhere from 3 to 5 times
> slower (this will depend on the appender).
> I believe that as soon as you use a context property log4net will internally
> access the windows user name even though it's not the property you want to
> access. This theory comes from the fact that printing all properties in the
> pattern (including the costly property username) compared to just printing
> one will slow down the logging with the same factor.
> I've made a stackoverflow question with more details as well
> http://stackoverflow.com/questions/22612286/using-log4net-context-properties-has-negative-impact-on-performance/
--
This message was sent by Atlassian Jira
(v8.3.4#803005)