-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to configure "Analogy.LogViewer.Serilog.Sinks"? #308
Comments
Hi @afluegge , Will update you :) for now you of course can open Serilog logs directly |
yeah the self hosted does not receive the messages. Will update (the Analogy Server (https://github.com/Analogy-LogViewer/Real-Time-Log-Server) works ok) |
found the issue (hard coded port 7000) . Once I corrected it the self hosted got messages. |
related issue: [Analogy.LogViewer.Serilog.Sinks] Sink is using port 6000 without ability to change address #309 |
Could you also please provide documentation on how to configure the serilog sink via appsettings.json? |
Hi Lior,
I tried to use the log viewer with the self hosted gRPC server together with the Serilog sink. I am not able to get it to work.
I have a .NET5 WPF application and I configure my Serilog sinks from the appsettings.json file. For both "Console" and "Debug" sinks everything works fine. However, I am not able to get the "Analogy.LogViewer.Serilog.Sinks" sink to work. I was not able to find any documentation that describes how to setup the sink correctly so that I can see log entries in your log viewer app.
Can you please provide me some guidance on how to setup the following configuration:
What is the correct syntax to configure the sink from appsettings.json? This is my try:
The text was updated successfully, but these errors were encountered: