ioredis icon indicating copy to clipboard operation
ioredis copied to clipboard

No options were found to turn off all log output

Open solstice-gao opened this issue 2 years ago • 1 comments

No option was found to turn off all log output. Debug is enabled in the source code, but no function is provided to control this parameter. if (debug.enabled) { debug("write command[%s]: %d -> %s(%o)", this._getDescription(), (_b = this.condition) === null || _b === void 0 ? void 0 : _b.select, command.name, command.args); }

solstice-gao avatar Dec 19 '23 08:12 solstice-gao

By default debug.enabled should be falsy unless your DEBUG environment variable matches ioredis.

luin avatar Jan 07 '24 13:01 luin