From ea30daf0580b37599b97024f36f5c45702751660 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=BE=E3=81=A3=E3=81=A1=E3=82=83=E3=81=A8=E3=83=BC?= =?UTF-8?q?=E3=81=AB=E3=82=85?= <17376330+u1-liquid@users.noreply.github.com> Date: Tue, 9 Jan 2024 11:21:37 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20MK=5FLOG=5FJSON=E3=81=AEcontext=E3=81=AE?= =?UTF-8?q?=E5=80=A4=E3=81=8C=E6=AD=A3=E5=B8=B8=E3=81=AB=E8=A1=A8=E7=A4=BA?= =?UTF-8?q?=E3=81=95=E3=82=8C=E3=81=AA=E3=81=84=E5=95=8F=E9=A1=8C=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20(MisskeyIO#347)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix bug from MisskeyIO#346 --- packages/backend/src/logger.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/logger.ts b/packages/backend/src/logger.ts index 48d7afa488..f32a0dfa09 100644 --- a/packages/backend/src/logger.ts +++ b/packages/backend/src/logger.ts @@ -57,7 +57,7 @@ export default class Logger { message: message, data: data, important: important, - context: [this.context].concat(subContexts).join('.'), + context: [this.context].concat(subContexts).map(d => d.name).join('.'), cluster: cluster.isPrimary ? 'primary' : `worker-${cluster.worker!.id}`, })); return;