We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3e0789 commit 20a5119Copy full SHA for 20a5119
src/go/plugin/go.d/collector/redis/collector.go
@@ -22,7 +22,13 @@ import (
22
//go:embed "config_schema.json"
23
var configSchema string
24
25
+type noopLogger struct{}
26
+
27
+func (noopLogger) Printf(context.Context, string, ...any) {}
28
29
func init() {
30
+ redis.SetLogger(noopLogger{})
31
32
module.Register("redis", module.Creator{
33
JobConfigSchema: configSchema,
34
Create: func() module.Module { return New() },
0 commit comments