mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 03:12:15 +00:00
refactor(core): Support multiple log scopes (#11318)
This commit is contained in:
@@ -27,7 +27,7 @@ export class Subscriber {
|
||||
// @TODO: Once this class is only ever initialized in scaling mode, throw in the next line instead.
|
||||
if (config.getEnv('executions.mode') !== 'queue') return;
|
||||
|
||||
this.logger = this.logger.withScope('scaling');
|
||||
this.logger = this.logger.scoped(['scaling', 'pubsub']);
|
||||
|
||||
this.client = this.redisClientService.createClient({ type: 'subscriber(n8n)' });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user