Merge branch '5.3.x' into main

This commit is contained in:
Rossen Stoyanchev
2021-10-11 11:20:14 +01:00
3 changed files with 9 additions and 6 deletions

View File

@@ -43,7 +43,7 @@ public abstract class LogFormatUtils {
* @return the formatted value
*/
public static String formatValue(@Nullable Object value, boolean limitLength) {
return formatValue(value, 100, limitLength);
return formatValue(value, (limitLength ? 100 : -1), limitLength);
}
/**