At some point in the code, I need to specify a huge JSON , I've got my logs full of
Event JSON representation exceeds the body size limit 262144; sample:
.
On Seq part I've changed the settings to allowing 1Mb but I still got this error message. Should I also change the web application part?
Is there a setting I can pass in the appsettings.configuration?
Thanks
The limit needs to be changed both in the
WriteTo.Seq()
call'seventBodyLimitBytes
argument, and on the Seq server in Settings > System > Raw event body limit.