fix: MK_LOG_JSONのcontextの値が正常に表示されない問題を修正 (MisskeyIO#347)
fix bug from MisskeyIO#346
This commit is contained in:
parent
ec914d9f0c
commit
670d509696
|
@ -58,7 +58,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;
|
||||
|
|
Loading…
Reference in a new issue