Replace instances of cytube-common logger with jsli
This commit is contained in:
parent
00901f9cdb
commit
54045766f2
|
@ -3,7 +3,7 @@ import { PartitionConfig } from './partitionconfig';
|
|||
import { PartitionDecider } from './partitiondecider';
|
||||
import { PartitionClusterClient } from '../io/cluster/partitionclusterclient';
|
||||
import RedisClientProvider from 'cytube-common/lib/redis/redisclientprovider';
|
||||
import logger from 'cytube-common/lib/logger';
|
||||
import { LoggerFactory } from '@calzoneman/jsli';
|
||||
import LegacyConfig from '../config';
|
||||
import path from 'path';
|
||||
import { AnnouncementRefresher } from './announcementrefresher';
|
||||
|
@ -11,6 +11,7 @@ import { RedisPartitionMapReloader } from './redispartitionmapreloader';
|
|||
|
||||
const PARTITION_CONFIG_PATH = path.resolve(__dirname, '..', '..', 'conf',
|
||||
'partitions.toml');
|
||||
const logger = LoggerFactory.getLogger('PartitionModule');
|
||||
|
||||
class PartitionModule {
|
||||
constructor() {
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
import { PartitionMap } from './partitionmap';
|
||||
import logger from 'cytube-common/lib/logger';
|
||||
import { LoggerFactory } from '@calzoneman/jsli';
|
||||
import { EventEmitter } from 'events';
|
||||
|
||||
const logger = LoggerFactory.getLogger('RedisPartitionMapReloader');
|
||||
|
||||
class RedisPartitionMapReloader extends EventEmitter {
|
||||
constructor(config, redisClient, subClient) {
|
||||
super();
|
||||
|
|
Loading…
Reference in a new issue