serilog-contrib / serilog-enrichers-clientinfo

Enrich logs with client IP, correlation id and HTTP request headers.
MIT License
98 stars 22 forks source link

Dependency on deprecated package #24

Closed cremor closed 1 year ago

cremor commented 1 year ago

Installing this package results in a transitive dependency on the deprecated package Microsoft.AspNetCore.Http. Please fix this so that the deprecated package is not referenced any more.

I assume this can be done similar to how Serilog.AspNetCore does it: https://github.com/serilog/serilog-aspnetcore/blob/e6e51d8f64f50833bb539734816a91d5efd669b4/src/Serilog.AspNetCore/Serilog.AspNetCore.csproj#L40-L48

mo-esmp commented 1 year ago

Sorry for the late response. Thanks for the reporting; it would be nice if you sent a PR to fix this.

cremor commented 1 year ago

@edmacdonald just created a PR: #31