Skip to content

Configure log levels or use custom logger #1539

Open
@Vardominator

Description

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]"]
...

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions