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. You can change the maximum length of log message strings by setting the max-string-length configuration property. If any string has more than the configured number of characters, then that string will be truncated and a placeholder will be appended to indicate the number of remaining characters in the original string.

  • Use dsconfig to set the max-string-length property for an access log. 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