Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/callsite incorrect #335

Merged
2 commits merged into from
May 1, 2014
Merged

Fix/callsite incorrect #335

2 commits merged into from
May 1, 2014

Conversation

JvanderStad
Copy link
Contributor

I had the problem with callsite on certain x64 systems.. It reported NLog.LoggerImpl.Write instead of the actual callsite.. This fixes the problem for me:

Before:
2014-05-01 15:01:39.5402|33|Info|NLog.LoggerImpl.Write|User '' () logged in from xxx.xxx.xxx.xxx

After:
2014-05-01 15:03:02.7554|28|Info|Login.LoginUser|User '' () logged in from xxx.xxx.xxx.xxx

@ghost
Copy link

ghost commented May 1, 2014

Thanks for the pull request, it looks good

ghost pushed a commit that referenced this pull request May 1, 2014
@ghost ghost merged commit d0e388a into NLog:master May 1, 2014
@JvanderStad JvanderStad deleted the fix/callsite-incorrect branch May 1, 2014 18:48
ghost pushed a commit that referenced this pull request May 7, 2014
@ghost
Copy link

ghost commented May 7, 2014

This has been reverted as this causes the Log_LoggerWrappedAndStackTraceEnabled_UserStackFrameIsCurrentMethod test to fail

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant