I have a default asp.net core application from API template.
I write log message in GetWeatherForecast action and I see the message both in Debug
and LoggingTests - ASP.NET Core Web Server
categories of output window (Show output from).
Yet messages logged by NServcieBus message handler are shown only in Debug
.
I'd expect that section LoggingTests - ASP.NET Core Web Server
just shows all the messages coming form the same process, however, NServiceBus case disproves this assumption.
When you start multiple applications with IIS Express profile you do not have console output, and Debug
shows output from any of these apps. This is quite annoying. I was looking for the messages to be grouped under the corresponding section, but as I said, messages from NServiceBus do not arrive there.
Does anyone know what are the criteria for the message to be shown in ASP.NET Core Server
section?