mirror of
https://github.com/unraid/api.git
synced 2026-01-16 05:37:25 -06:00
fix: better logger prefix
This commit is contained in:
@@ -4,7 +4,7 @@ import { MOTHERSHIP_GRAPHQL_LINK } from '../consts';
|
||||
import { userCache, CachedServers } from '../cache';
|
||||
import { log as logger } from '../core';
|
||||
|
||||
const log = logger.createChild({ prefix: '[@unraid/subscribe-to-servers]: '});
|
||||
const log = logger.createChild({ prefix: 'subscribe-to-servers'});
|
||||
const client = new SubscriptionClient(MOTHERSHIP_GRAPHQL_LINK, {
|
||||
reconnect: true,
|
||||
lazy: true, // only connect when there is a query
|
||||
|
||||
Reference in New Issue
Block a user