Skip to content

Fix for issue #1 #2

Closed
wants to merge 1 commit into from

2 participants

@ronosaurus

The %method PatternLayout pattern does not report the correct call site.
It should report the client call site, not the wrapper call site.

I'm new to github...not sure if I included everything you need. Let me know if I did something wrong.

@ronosaurus ronosaurus Fix for issue #1
The %method PatternLayout pattern does not report the correct call site.
It should report the client call site, not the wrapper call site.
82396b2
@ronosaurus ronosaurus closed this Jan 12, 2013
@ferventcoder
Owner

I would not close the pull request unless you found something is wrong with it. :D

@ferventcoder ferventcoder reopened this Jan 23, 2013
@ferventcoder ferventcoder commented on the diff Feb 3, 2013
LoggingExtensions.log4net.Sample/App.config
@@ -24,7 +24,7 @@
<foreColor value="Blue, HighIntensity"/>
</mapping>
<layout type="log4net.Layout.PatternLayout">
- <conversionPattern value="%message%newline"/>
+ <conversionPattern value="%logger.%method %-5level %message%newline"/>
@ferventcoder
Owner
ferventcoder added a note Feb 3, 2013

This one right here is not something I would normally add. The console stays very focused only on the messages this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@ferventcoder
Owner

This is in. Thanks so much for your patience

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.