Skip to content

Console logging example from README does not show output under IIS/in-process hosting #107

Closed
@CreepyGnome

Description

@CreepyGnome

I followed the instructions in the readme.md file and I have attached the basic default ASP.NET Core Web API generated project with only the changes the readme states and there is no output in the "ASP.NET Core Web Server" output.

See attached very clean default project. It runs and should have "Started web host" in the output window but doesn't show up in any of the output options, including the "ASP.NET Core Web Server" output.

I would expect to do what the steps stated the Instructions section would work as it states, yet it does not. Not sure what is wrong as I've never used Serilog and wanted to see it in action and nothing I tried could get it to work so went to a clean project and exact instructions to ensure it wasn't me and it doesn't seem to me as the steps don't work in a clean project.

https://github.com/serilog/serilog-aspnetcore#instructions

Please fix whatever is missing in the Readme.md so that it will work with an ASP.NET Core Web API default template project. I used Visual Studio 2019 Ent to generate the default project for Core 2.2 SDK.

FunWithSerilogAspNetCore.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions