serilog-sinks-eventlog
serilog-sinks-eventlog copied to clipboard
Fix the MaximumPayloadLengthChars
The EventLog.WriteEntry documentation says the maximum is 31839 but it was found empirically that the maximum is 31718 on Windows 10.
The UsingSuperLongLogMessageWorks
test now passes again.
Note: I have opened this pull request as draft because I also opened https://github.com/dotnet/dotnet-api-docs/pull/9999 which proposes to change the official documentation about the maximum message size. So let's see what the documentation team has to say about it first...