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

Logging

Open nrc opened this issue 4 years ago • 1 comments

We do very minimal logging - a total of six locations log any data. Either we should do proper logging, or we should remove those six logging locations and the dependency.

nrc avatar Apr 20 '21 11:04 nrc

Some of my thoughts on the slog migration:

  • [ ] Pass the logger around and modify all logging macros
  • [ ] Make use of the structured logger to propagate txn's info, e.g. start_ts.
  • [ ] Choose an appropriate slog format that makes debugging easier.
  • [ ] Remove the wrong child!()s
  • [ ] Logs for errors, e.g. "drop active txn"
  • [ ] Debug logs for trivial opeartions, which is useful in dev/debug
  • [ ] Update examples and docs

ekexium avatar Jul 21 '21 06:07 ekexium