serilog-web / classic-mvc

[Discontinued] ASP.NET MVC support for SerilogWeb.Classic
Apache License 2.0
10 stars 2 forks source link

HttpSessionId is not included in any MVC log entry #12

Closed douglasg14b closed 2 months ago

douglasg14b commented 5 years ago

The title pretty much describes the issue. I have log entries enriched with HttpSessionId which works for any other log entry, except for the automatic MVC action ones.

tsimbalar commented 5 years ago

Sorry for replying so late ...

When you say automatic MVC action ones , what do yo refer to ?

douglasg14b commented 5 years ago

When using the enrichers included in this package.

AroglDarthu commented 4 years ago

Could it be that you are overwriting your enrichers? If you add the first set in classicSettings.json and then try to add additional enrichers via .AddJsonFile("classicMvcSettings.json") it will effectively overwrite your initial enricher array.

douglasg14b commented 4 years ago

I've deployed logging in 6 different systems now and observed this behavior in all, even with default implementations.

tsimbalar commented 2 months ago

This project is no longer being maintained and we are going to archive the SerilogWeb Repositories.

see: