I have been using SLAB for quite some time now, and I really like it. For most projects I'm logging to a SQL Server using the SqlDatabaseSink. However when logging exceptions the Payload is often cut off as the serialization of exceptions and their inner exceptions
can get pretty big. I log the entire exception like:
/* do something */
catch (Exception ex)
And of course often with additional context data, etc.
I can see the reason for the truncated Payload is due to:
Has any else been hit by this 4000 limit, and how do you get around it?
I'm considering making a patch to SqlDatabaseSink
that allows to override the use of
by providing a factory method in the constructor. One can then implement a
that does not limit Payload.