Improve Fatal LevelDB Log Messages #12659

pull eklitzke wants to merge 1 commits into bitcoin:master from eklitzke:leveldb_errmsg changing 1 files +4 −8
  1. eklitzke commented at 6:54 am on March 10, 2018: contributor

    The leveldb::Status class logs the filename of corrupted files, which might be useful when looking at error reports from usres. In theory this is already logged via the LogPrintf() statement in HandleError(), but that may not always be close to where the final error message is logged, e.g. see #11355 (comment) where the log trace provided by the user does not contain that information (and other user comments in the same issue).

    This also adds a log message instructing the user to run the process with -debug=leveldb, which provides much more verbose error messages about LevelDB internals. This may not really help much, but improving the error messages here can’t hurt.

  2. Log fatal LevelDB errors more verbosely f4b68b3f8f
  3. fanquake added the label Utils/log/libs on Mar 10, 2018
  4. fanquake deleted a comment on Mar 11, 2018
  5. fanquake deleted a comment on Mar 11, 2018
  6. fanquake deleted a comment on Mar 11, 2018
  7. randolf approved
  8. promag commented at 11:35 pm on March 12, 2018: member
    utACK f4b68b3.
  9. fanquake commented at 2:27 am on March 13, 2018: member
    utACK f4b68b3
  10. MarcoFalke commented at 4:15 pm on March 13, 2018: member
    utACK f4b68b3f8f6bb8ad45a9c13c70be0e24404ecd54
  11. MarcoFalke merged this on Mar 13, 2018
  12. MarcoFalke closed this on Mar 13, 2018

  13. MarcoFalke referenced this in commit 3d16f58153 on Mar 13, 2018
  14. eklitzke deleted the branch on Mar 16, 2018
  15. PastaPastaPasta referenced this in commit bbb3e74ce7 on Jun 13, 2020
  16. PastaPastaPasta referenced this in commit 57a6035a90 on Jun 13, 2020
  17. PastaPastaPasta referenced this in commit 185f2d6cfa on Jun 17, 2020
  18. PastaPastaPasta referenced this in commit f2afaa324f on Jun 18, 2020
  19. gades referenced this in commit 6a194112d9 on Jun 24, 2021
  20. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-09-29 01:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me