Modifying the maximum length of log message strings - PingDirectory - 9.3

PingDirectory 9.3

bundle
pingdirectory-93
ft:publication_title
PingDirectory 9.3
Product_Version_ce
PingDirectory 9.3 (Latest)
category
Product
pd-93
pingdirectory
ContentType_ce

Change the maximum length of log message strings by setting the max-string-length configuration property.

By default, the PingDirectory 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-length property 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