Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

HttpSessionId is not included in any MVC log entry #12

Closed
douglasg14b opened this issue May 8, 2019 · 5 comments
Closed

HttpSessionId is not included in any MVC log entry #12

douglasg14b opened this issue May 8, 2019 · 5 comments

Comments

@douglasg14b
Copy link

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
Copy link
Member

Sorry for replying so late ...

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

@douglasg14b
Copy link
Author

When using the enrichers included in this package.

@AroglDarthu
Copy link

AroglDarthu commented Dec 5, 2019

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
Copy link
Author

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

@tsimbalar
Copy link
Member

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

see:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants