-
Notifications
You must be signed in to change notification settings - Fork 165
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
.NET Core 2.0: Not getting all my log messages #175
Comments
see #167 and NLog/NLog.Extensions.Logging#128 |
I've added some notes to the readmes! closing as duplicate of #167 and NLog/NLog.Extensions.Logging#128 |
Thanks! That solved my problem. Now I'm getting too much from ASP.NET, but I'll figure out how to turn that off... |
with the blackhole construction in NLog's config |
but there is probably also another API option (the filters from MS) |
@sarchibald-mdsol could you share your NLog set-up ('main' or |
you have responded on sep 27 in this thread. and im curious if you could elaborate on your solution |
Interesting. I'm looking through the entire thread, and don't see my user
id in the list.
…On Wed, Dec 6, 2017 at 8:23 AM, Julian Verdurmen ***@***.***> wrote:
you have responded on sep 27 in this thread.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_NLog_NLog.Web_issues_175-23issuecomment-2D349691884&d=DwMCaQ&c=fi2D4-9xMzmjyjREwHYlAw&r=YWJ0lASeac5MbPiVU9g1QgnTfTmPcqIVZG3ML73s_7s&m=PAYtcLtlJmbeqDIYcq-fpIkKHqwitFvg5fbuQ6WAVKs&s=SeLjxeG8b03J_T0Hre9Yk-M_KT3Sp1A8DyBc7TzzU_s&e=>,
or mute the thread
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Abn7yvf56nHwo2zSWyh-5FlDyeE-5FoYL6iKks5s9r9jgaJpZM4PkzNV&d=DwMCaQ&c=fi2D4-9xMzmjyjREwHYlAw&r=YWJ0lASeac5MbPiVU9g1QgnTfTmPcqIVZG3ML73s_7s&m=PAYtcLtlJmbeqDIYcq-fpIkKHqwitFvg5fbuQ6WAVKs&s=QDdqYc-UDB2j-_9TzQFm-S4WrKd3WXE1-no0vaD7Cok&e=>
.
|
I'm using .net core 2.0 and Visual Studio 2017. I've installed the latest version of NLog.Web.AspNetCore(4.4.1).
My nlog.config is:
I'm getting all the Microsoft log entries as expected, but none of my custom log items.
Here's the relevant code:
I'm not seeing anything from
logger.LogDebug("Entering", null);
even though I can step through that line successfully in debug.Here's what does show up in my log file:
The text was updated successfully, but these errors were encountered: