fix: MK_LOG_JSONのcontextの値が正常に表示されない問題を修正 (MisskeyIO#347)
fix bug from MisskeyIO#346
This commit is contained in:
parent
2fb3924075
commit
ea30daf058
|
@ -57,7 +57,7 @@ export default class Logger {
|
||||||
message: message,
|
message: message,
|
||||||
data: data,
|
data: data,
|
||||||
important: important,
|
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}`,
|
cluster: cluster.isPrimary ? 'primary' : `worker-${cluster.worker!.id}`,
|
||||||
}));
|
}));
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue