multiple-redis
Advanced tools
Comparing version 0.0.43 to 0.0.44
@@ -6,2 +6,3 @@ 'use strict'; | ||
var util = require('util'); | ||
var debug = require('debuglog')('multiple-redis'); | ||
var redis = require('redis'); | ||
@@ -282,2 +283,6 @@ var redisCommands = require('redis-commands'); | ||
client.send_command(command, args, function onCommandEnd(error, output) { | ||
if (error) { | ||
debug('Error while redis command: %s, args: %s, ', command, args || '[]', error.stack); | ||
} | ||
if (!ignore) { | ||
@@ -284,0 +289,0 @@ if (error) { |
{ | ||
"name": "multiple-redis", | ||
"version": "0.0.43", | ||
"version": "0.0.44", | ||
"description": "Run redis commands against multiple redis instances.", | ||
@@ -39,2 +39,3 @@ "author": { | ||
"async": "^1.5.2", | ||
"debuglog": "^1.0.1", | ||
"redis": "^2.4.2", | ||
@@ -41,0 +42,0 @@ "redis-commands": "^1.1.0" |
@@ -14,2 +14,3 @@ # multiple-redis | ||
* [Usage](#usage) | ||
* [Debug](#debug) | ||
* [Installation](#installation) | ||
@@ -120,2 +121,8 @@ * [Limitations](#limitations) | ||
<br> | ||
<a name="debug"></a> | ||
## Debug | ||
In order to turn on debug messages, use the standard nodejs NODE_DEBUG environment variable. | ||
```` | ||
NODE_DEBUG=multiple-redis | ||
```` | ||
<a name="installation"></a> | ||
@@ -145,3 +152,3 @@ ## Installation | ||
| ----------- | ------- | ----------- | | ||
| 2016-02-10 | v0.0.43 | Maintenance | | ||
| 2016-02-10 | v0.0.44 | Maintenance | | ||
| 2015-10-22 | v0.0.16 | Timeout child commands (see childCommandTimeout option) | | ||
@@ -148,0 +155,0 @@ | 2015-10-16 | v0.0.12 | Maintenance | |
92139
1878
161
4
+ Addeddebuglog@^1.0.1
+ Addeddebuglog@1.0.1(transitive)