Skip to content
Discussion options

You must be logged in to vote

Hi @YimingIsCOLD,

If i am understanding correctly, It seems like there are 2 asks.

  1. Turn off the existing logger

The Go client doesn't currently expose a logger configuration API like Python (Logger.set_logger_config(LogLevel.OFF)) or Node.js (Logger.setLoggerConfig("off")). This is a known gap — we have the FFI init function in the Rust layer that supports setting the level to OFF, but the Go binding doesn't wrap it yet.

We'd welcome a contribution to add a Go-level Logger API. The implementation would follow the same pattern as the other bindings — call the FFI init(level, file_name) function exposed by /valkey-glide/ffi/src/lib.rs. See /valkey-glide/python/glide-async/python/glide/log…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by xShinnRyuu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants