mirror of
https://github.com/SunRed/haste-server.git
synced 2024-11-01 01:30:21 +01:00
Added more loggin
This commit is contained in:
parent
8f0d6260b0
commit
4b58c8d356
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ var RedisDocumentStore = function(options, client) {
|
||||||
winston.info('using predefined redis client');
|
winston.info('using predefined redis client');
|
||||||
RedisDocumentStore.client = client;
|
RedisDocumentStore.client = client;
|
||||||
} else if (!RedisDocumentStore.client) {
|
} else if (!RedisDocumentStore.client) {
|
||||||
|
winston.info('configuring redis');
|
||||||
RedisDocumentStore.connect(options);
|
RedisDocumentStore.connect(options);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue