Long string values can be configured for automatic truncation in logs. To configure this option:
- Find the Hyland.Logging section of the application's .config file.
-
Under this section, prior to the Routes subsection, find
the following line:
<Hyland.Logging TruncateLogValues="NUMBER">
If TruncateLogValues is not present, add it within the <Hyland.Logging> tag.
Note:If TruncateLogValues is set to 0, the logs will not be truncated.
- Replace NUMBER with the number of characters to truncate strings after, in quotation marks. The default value for this is 1024.
- Save the file and restart the application.