From e9af7e94c46ac9335995aa439c2a07959b05a349 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 24 Nov 2019 16:43:19 +0900 Subject: [PATCH] Fix bug --- src/services/logger.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/logger.ts b/src/services/logger.ts index b170be780..c72e681d0 100644 --- a/src/services/logger.ts +++ b/src/services/logger.ts @@ -103,7 +103,7 @@ export default class Logger { worker: worker.toString(), domain: [this.domain].concat(subDomains).map(d => d.name), level: level, - message: message, + message: message.substr(0, 1000), // 1024を超えるとログが挿入できずエラーになり無限ループする data: data, } as Log); }