Steeltoe icon indicating copy to clipboard operation
Steeltoe copied to clipboard

Dynamic Serilog is not working after upgrading to 3.2.0

Open spanhotra opened this issue 3 years ago • 1 comments

Describe the bug

After I upgraded to DynamicSerilog 3.2.0 from 3.1.3, I noticed, that the application is hung up at app.Run() Even while debugging, the browser does not open up.

Steps to reproduce

Steps to reproduce the behavior:

  1. Upgrade existing application to 3.2.0
  2. Start to Debug in VS Code
  3. The browser won't open

Expected behavior

The browser should open

Environment (please complete the following information):

  • Steeltoe Version 3.2.0
  • Platform: Local
  • OS: Windows
  • .NET Version .NET 6
  • Any other library versions to note

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context or links

Downgrading to 3.1.3 works but it does not capture Span ID and Trace ID, which is provided in 3.2.0 Issue

Packages used

<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="6.0.3" />
 <PackageReference Include="OpenTelemetry.Exporter.Jaeger" Version="1.2.0" />
 <PackageReference Include="Steeltoe.Common.Hosting" Version="3.2.0" />
 <PackageReference Include="Steeltoe.Connector.ConnectorCore" Version="3.2.0" />
 <PackageReference Include="Steeltoe.Extensions.Logging.DynamicLogger" Version="3.2.0" />
 <PackageReference Include="Steeltoe.Extensions.Logging.DynamicSerilogCore" Version="3.2.0" />
 <PackageReference Include="Steeltoe.Management.EndpointCore" Version="3.2.0" />
 <PackageReference Include="Steeltoe.Management.TracingCore" Version="3.2.0" />
 <PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.3" />

spanhotra avatar May 31 '22 14:05 spanhotra

Hi @spanhotra I cannot reproduce this issue with 3.2.0 and with 6.0.302 SDK and using this sample: https://github.com/SteeltoeOSS/Samples/tree/main/Management/src/AllActuators

I did see this issue earlier and I am suspecting it is no longer an issue. Can you create a simple reproduction repo with a global.json that would lock the sdk version?

hananiel avatar Jul 22 '22 20:07 hananiel

Closing as not-reproducible for now. Feel free to reopen with a reproduction as either a github repo or a zip file.

hananiel avatar Aug 18 '22 14:08 hananiel