serilog-contrib / serilog-enrichers-clientinfo

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

Wrong Serilog version in csproj? #5

Closed spottedmahn closed 3 years ago

spottedmahn commented 3 years ago

According to the nuspec, the Serilog dependency is 2.7.1:

<group targetFramework="netstandard2.0">
    <dependency id="Microsoft.AspNetCore.Http" version="2.1.1" />
    <dependency id="Serilog" version="2.7.1" />
</group>

but the csproj is referencing 2.9.0:

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0'">
    <PackageReference Include="Microsoft.AspNetCore.Http" Version="2.1.1" />
    <PackageReference Include="Serilog" Version="2.9.0" />
</ItemGroup>
mo-esmp commented 3 years ago

@spottedmahn thank you again. please upgrade to version 1.1.2.

spottedmahn commented 3 years ago

nice, thanks!

spottedmahn commented 3 years ago

fix via https://github.com/mo-esmp/serilog-enrichers-clientinfo/commit/ad3f73504b8a589dfd5a31dba094babbfe5e49ae