fix: MK_LOG_JSONのcontextの値が正常に表示されない問題を修正 (MisskeyIO#347)

fix bug from MisskeyIO#346
This commit is contained in:
まっちゃとーにゅ 2024-01-09 11:21:37 +09:00 committed by GitHub
parent 2fb3924075
commit ea30daf058
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;