Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure log levels or use custom logger #1539

Open
Vardominator opened this issue Dec 29, 2024 · 0 comments
Open

Configure log levels or use custom logger #1539

Vardominator opened this issue Dec 29, 2024 · 0 comments

Comments

@Vardominator
Copy link

Is it possible to configure the log level or use a custom logger for github.com/tikv/client-go/v2/txnkv? For data-intensive workloads, it is very noisy and difficult to track.

I'm seeing many INFO and WARN logs that are not actionable and clouding useful logs that I actually need to monitor:

...
[INFO] [lock_resolver.go:1081] ["resolveLock rollback"]
...
[INFO] [2pc.go:677] ["[BIG_TXN]"]
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant