3.21.7. MaxMessageLength Previous topic Parent topic Child topic Next topic

This optional parameter specifies a maximum message length (in characters) for each message to be logged. If specified, each log message is truncated to the specified number of characters prior to logging. Defaults to 0, which means no truncation.
Truncation is done prior to SQL quoting of escapes. MaxMessageLength is useful for some types of SQL server that complain if given a string longer than the column it is going in to.