Add net2 debug option #7654

pull rebroad wants to merge 1 commits into bitcoin:master from rebroad:DebugNet2 changing 3 files +6 −6
  1. rebroad commented at 4:08 PM on March 8, 2016: contributor

    I often want to enable net debugging, but currently it's too noisy for what I want. Move some of the more verbose net debugging messages to "net2", making "net" debugging more likely to be desired without being too verbose (like this description!).

  2. Add net2 debug option 7356ed39ab
  3. jonasschnelli added the label P2P on Mar 9, 2016
  4. jonasschnelli added the label Priority Low on Mar 9, 2016
  5. jonasschnelli commented at 7:39 AM on March 9, 2016: contributor

    I think this makes sense. Although it would remove certain log output if people continue to use only debug=net. But IMO thats okay. I personally would prefer something like debug=netverbose instead of net2.

  6. laanwj commented at 7:45 AM on March 11, 2016: member

    I personally would prefer something like debug=netverbose instead of net2.

    Agreed

  7. paveljanik commented at 9:26 PM on March 11, 2016: contributor

    Concent ACK. I too prefer netverbose.

  8. laanwj commented at 5:30 PM on March 18, 2016: member

    @rebroad can you please update the name of the debug category, then we can get this merged.

  9. morcos commented at 2:23 PM on March 22, 2016: member

    LogPrint("net", "dropmessages DROPPING SEND MESSAGE\n"); at line 2492 should probably also be moved to the new category.

    Also maybe out of scope for this PR but the debug logging around "received getdata" seems due for a cleanup.

  10. laanwj commented at 4:58 AM on April 2, 2016: member

    Ping @rebroad

  11. laanwj commented at 4:07 PM on April 5, 2016: member

    Closing due to inactivity.

  12. laanwj closed this on Apr 5, 2016

  13. 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