Prefix leveldb debug logging #11794

pull laanwj wants to merge 1 commits into bitcoin:master from laanwj:2017_11_prefix_leveldb_debug changing 1 files +1 −1
  1. laanwj commented at 8:30 AM on November 30, 2017: member

    Add leveldb: prefix to leveldb debug logging lines. leveldb debug messages come in various scary flavors such as:

    2017-11-30 08:26:31 leveldb: Recovering log [#26](/bitcoin-bitcoin/26/)
    2017-11-30 08:26:31 leveldb: Level-0 table [#28](/bitcoin-bitcoin/28/): started
    2017-11-30 08:26:31 leveldb: Level-0 table [#28](/bitcoin-bitcoin/28/): 597 bytes OK
    2017-11-30 08:26:31 leveldb: Delete type=0 [#26](/bitcoin-bitcoin/26/)
    2017-11-30 08:26:31 leveldb: Delete type=3 [#24](/bitcoin-bitcoin/24/)

    so it's reasonably important to mark them as coming from leveldb internals and not from consensus validation wallet or such. This is consistent with the libevent: prefix for libevent messages.

    (this only affects -debug=leveldb or -debug=1 otherwise you won't see them in the first place)

  2. Prefix leveldb debug logging
    Add leveldb: prefix to leveldb debug logging lines.
    leveldb debug messages come in various scary flavors such as:
    
        2017-11-30 08:26:31 leveldb: Recovering log #26
        2017-11-30 08:26:31 leveldb: Level-0 table #28: started
        2017-11-30 08:26:31 leveldb: Level-0 table #28: 597 bytes OK
        2017-11-30 08:26:31 leveldb: Delete type=0 #26
        2017-11-30 08:26:31 leveldb: Delete type=3 #24
    
    so it's reasonably important to mark them as coming from leveldb
    internals and not from consensus validation wallet or such.
    
    (this only affects `-debug=leveldb` or `-debug=1` otherwise you won't
    see them in the first place)
    9b80fc1498
  3. laanwj added the label Docs and Output on Nov 30, 2017
  4. fanquake commented at 8:39 AM on November 30, 2017: member

    utACK 9b80fc1

  5. laanwj removed the label Docs and Output on Nov 30, 2017
  6. laanwj added the label Utils/logging/libs on Nov 30, 2017
  7. laanwj merged this on Nov 30, 2017
  8. laanwj closed this on Nov 30, 2017

  9. laanwj referenced this in commit dd49862a70 on Nov 30, 2017
  10. PastaPastaPasta referenced this in commit 532a0b3f22 on Jan 17, 2020
  11. PastaPastaPasta referenced this in commit 1ba3951eaa on Jan 22, 2020
  12. PastaPastaPasta referenced this in commit eb54bcedaa on Jan 22, 2020
  13. PastaPastaPasta referenced this in commit 759f34ac2d on Jan 29, 2020
  14. PastaPastaPasta referenced this in commit 8f0ea303e2 on Jan 29, 2020
  15. PastaPastaPasta referenced this in commit 80d3402785 on Jan 29, 2020
  16. PastaPastaPasta referenced this in commit 610b3e1b06 on Jan 30, 2020
  17. ckti referenced this in commit e822459b16 on Mar 28, 2021
  18. DrahtBot 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: 2026-04-13 15:15 UTC

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