question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

UseSerilog + gRPC

See original GitHub issue

Could I kindly ask you if it is possible to log to Sentry using gRPC and use Serilog at the same time?

Could be nice to configure logging using appsettings.logs.json as well

Thanks in advance

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
zs-dimacommented, Dec 20, 2020

Link you provided about Sentry without Serilog only! You could see official Sentry Serilog example to see how it works!

1reaction
zs-dimacommented, Dec 20, 2020

It doesn’t works. Could I kindly ask you to provide working example for gRPC+Serilog? Plain gRPC+Sentry works and have settings but Serilog+Sentry+gRPC does not!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sample for UseSerilog + gRPC · Issue #677
Could I kindly ask you if it is possible to log to Sentry using gRPC and use Serilog at the same time? Sentry...
Read more >
Logging gRPC requests using Serilog - Gui Ferreira
I can use Serilog to log the requests; I know all the requests made to my services; I know how long each request...
Read more >
Logging gRPC on .NET Using Serilog | by Tuna
In this tutorial, I will show how to log gRPC events on both client and server using Serilog which provides structured event data, ......
Read more >
Adding Serilog to the ASP.NET Core Generic Host
The UseSerilog() extension calls the ConfigureServices method on the IHostBuilder , and adds an instance of the SerilogLoggerFactory as the ...
Read more >
Serilog and .NET Core 2.1 HostBuilder Configuration
I'm using the .NET Core 2.1 HostBuilder class to set up and run a GRPC server and am having trouble getting SeriLog properly...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found