diff --git a/app/utils/Logger.ts b/app/utils/Logger.ts index 87b9a64..dd9e617 100644 --- a/app/utils/Logger.ts +++ b/app/utils/Logger.ts @@ -17,9 +17,9 @@ const shortenStringsInObject = (obj, maxLength) => { obj[key] = obj[key].substring(0, maxLength); } - if (Array.isArray(obj[key]) && obj[key].length > 20) { + if (Array.isArray(obj[key]) && obj[key].length > 10) { // Rút ngắn chuỗi lại maxLength ký tự - obj[key] = obj[key].slice(0,20) + obj[key] = "[Array:"+obj[key].length+"]" } } }