datalust / serilog-sinks-seq

A Serilog sink that writes events to the Seq structured log server
https://datalust.co/seq
Apache License 2.0
225 stars 50 forks source link

Forbidden when posting events to Seq from Serilog.Sinks.Seq #126

Closed dimbonix closed 4 years ago

dimbonix commented 4 years ago

I have issue with posting logs from C# Console App to Seq. I am using NuGet package Serilog.Sinks.Seq for logging. In the console output I get error message:

Exception while emitting periodic batch from Serilog.Sinks.Seq.SeqSink: Serilog.Debugging.LoggingFailedException: Received failed result Forbidden when posting events to Seq

Seq is configured to accept all logs so it's not clear to me why logging to Seq is forbidden.

Source code of the console app: code

Thanks!

nblumhardt commented 4 years ago

Hi! I've just left a comment over on your Stack Overflow post, I'll close the ticket here so we don't end up duplicating effort. Cheers!