Change the maximum length of log message strings by setting the
max-string-length configuration property.
By default, the Directory Server sets the maximum length of log message strings to 2000 characters. This value is configurable for any access log publisher, except the syslog publisher, which is set to 500 characters. If any string has more than the configured number of characters, then that string is truncated and a placeholder is appended to indicate the number of remaining characters in the original string.
To set the
max-string-lengthproperty for an access log, run dsconfig.
The following command configures the File-based Access Logger to include the instance name and the maximum length of the log message strings to 5000 characters.
$ bin/dsconfig set-log-publisher-prop \ --publisher-name "File-Based Access Logger" \ --set include-instance-name:true \ --set max-string-length:5000