More granular debug5 #8728

pull rebroad wants to merge 2 commits into bitcoin:master from rebroad:MoreGranularDebug5 changing 2 files +40 −41
  1. rebroad commented at 5:05 PM on September 14, 2016: contributor

    Builds upon #8484

    Currently the debug.log output is a bit of a mess with few options to configure it to be more readable or to focus on the areas of interest. This pull request helps make this possible by allowing only specific areas of the program debug when selected, and provides a more granular way to increase/decrease verbosity of those areas. #8729 extends this pull request further

  2. Make net debug more granular (move some into net2, block, tx) 141d02fe29
  3. Improve conformity in debug messages 7efe6f4056
  4. rebroad force-pushed on Sep 14, 2016
  5. in src/init.cpp:None in 7efe6f4056
     422 | @@ -423,7 +423,7 @@ std::string HelpMessage(HelpMessageMode mode)
     423 |          strUsage += HelpMessageOpt("-limitdescendantsize=<n>", strprintf("Do not accept transactions if any ancestor would have more than <n> kilobytes of in-mempool descendants (default: %u).", DEFAULT_DESCENDANT_SIZE_LIMIT));
     424 |          strUsage += HelpMessageOpt("-bip9params=deployment:start:end", "Use given start/end times for specified BIP9 deployment (regtest-only)");
     425 |      }
     426 | -    string debugCategories = "addrman, alert, bench, coindb, db, http, libevent, lock, mempool, mempoolrej, net, proxy, prune, rand, reindex, rpc, selectcoins, tor, zmq"; // Don't translate these and qt below
     427 | +    string debugCategories = "addrman, alert, bench, block, coindb, db, estimatefee, http, libevent, lock, mempool(,rej}, net{,2}, proxy, prune, rand, reindex, rpc, selectcoins, tx, tor, zmq"; // Don't translate these and qt below
    


    paveljanik commented at 5:09 PM on September 14, 2016:

    Is mempool(,rej}, correct?


    rebroad commented at 6:04 PM on September 14, 2016:

    yes, it's a typical notation that expands to mempool, mempoolrej


    paveljanik commented at 6:06 PM on September 14, 2016:

    ( and }?


    rebroad commented at 6:37 PM on September 14, 2016:

    ah... my eyesight is failing me!

  6. paveljanik commented at 5:10 PM on September 14, 2016: contributor

    Why? Who need this and why? What does this solve?

  7. rebroad closed this on Sep 14, 2016

  8. 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-22 18:15 UTC

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