client-go icon indicating copy to clipboard operation
client-go copied to clipboard

server: the logs in client-go are not fully red-acted

Open cfzjywxk opened this issue 2 years ago • 2 comments

There are still some logs printting in the client-go code which are not red acted. For example

[2023/10/25 23:02:59.305 +00:00] [WARN] [region_request.go:1898] ["tikv reports `DataIsNotReady` retry later"] [store-id=770512] [peer-id=6265849273] [region-id=6265849271] [safe-ts=445192389840081807] [ctx="region ID: 6265849271, meta: id:6265849271 start_key:\"t\\200\\000\\000\\000\\000\\001L\\235_r\\001PRIMARY_...

cfzjywxk avatar Oct 31 '23 08:10 cfzjywxk

you mean we should print in hex format?

disksing avatar Nov 21 '23 08:11 disksing

The keys are printted in raw value and not replaced with a questionmark, some of them are printted by the errors returned from tikv.

cfzjywxk avatar Nov 23 '23 07:11 cfzjywxk