Skip to content
This repository was archived by the owner on Jul 6, 2024. It is now read-only.

Redisearch unwanted debug logs #223

Closed
anfly0 opened this issue Nov 21, 2022 · 2 comments · Fixed by #224
Closed

Redisearch unwanted debug logs #223

anfly0 opened this issue Nov 21, 2022 · 2 comments · Fixed by #224

Comments

@anfly0
Copy link

anfly0 commented Nov 21, 2022

Hi!

There seems to be an issue where the Redisearch module ignores moduleOptions.showDebugLogs and emits debug messages to the log.

The most common messages come from this and this lines.

I guess the issue is here, but I'm not sure I get how the log function is supposed to work.
But I assume that if the log level is DEBUG and moduleOptions.showDebugLogs is falsy, the message should be ignored and console.log not called.

Kind regards, and thanks for this awesome package!

@danitseitlin
Copy link
Owner

@anfly0 Hi, thanks for the issue! will check ASAP

@danitseitlin
Copy link
Owner

@anfly0 Hi, thanks for the patience. Let me know if the issue is fixed :)

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants