-
Notifications
You must be signed in to change notification settings - Fork 68
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 debug the sink? #69
Comments
I've faced the same issue. |
For me using HostNameOrAddress instead of Host was the key. |
Same issue for me. I've got this working beautifully on our server and various clients, but it doesn't work on our Xamarin Android app, and I can't find why. |
This allowed me to debug:
Additionally I found it very useful to enable Serilog's own debugging mechanism by adding this line to the startup file. Serilog.Debugging.SelfLog.Enable(msg => Console.WriteLine(msg)); This ensures that errors that occur inside the Graylog sink are written to the |
The sink won't send any messages to graylog. Graylog is working fine with other sources. The input is setup correctly. When I try to log with Serilog.Sinks.Graylog then wireshark won't capture any packets. So I'm kinda lost at this point. What is the way to troubleshoot the sink?
When I send a message per
nc
it works just fineThe text was updated successfully, but these errors were encountered: