This commit is contained in:
syuilo 2019-11-24 16:43:19 +09:00 committed by GitHub
parent b241967fb9
commit 9c38e9722a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,7 +103,7 @@ export default class Logger {
worker: worker.toString(), worker: worker.toString(),
domain: [this.domain].concat(subDomains).map(d => d.name), domain: [this.domain].concat(subDomains).map(d => d.name),
level: level, level: level,
message: message, message: message.substr(0, 1000), // 1024を超えるとログが挿入できずエラーになり無限ループする
data: data, data: data,
} as Log); } as Log);
} }