- Microsoft Dynamics 365
- Plug-ins, Workflow, and Web Services
- Define Plug-in Trace Log message size
Define Plug-in Trace Log message size
Mon, 14 Nov 2016 11:26:37 GMT
Category: Plug-ins, Workflow, and Web Services
The Plug-in Trace Log attribute Message has a MaxLength of 1073741823 bytes, and the underlying field in the database is of type nvarchar(max).
Still the message block is truncated by code to only show the last 10k characters.
The truncation is not documented anywhere in the SDK, but in the code it is motivated with comment:
// do not let trace buffer get too large - keep most recent entries
This constraint limits investigation and debugging of complex plugins, and should be configurable with the system settings where you activate the Plug-in Trace Log.
- 23 Votes up for this idea
- 1 Votes down for this idea
- 24 Votes for this idea