logging: accept "none" as argument for rpc logging #27263

pull pinheadmz wants to merge 1 commits into bitcoin:master from pinheadmz:logging-none changing 2 files +13 −0
  1. pinheadmz commented at 4:00 PM on March 15, 2023: member

    The help message for rpc logging includes:

    In addition, the following are available as category names with special meanings:
      - "all",  "1" : represent all logging categories.
      - "none", "0" : even if other logging categories are specified, ignore all of them.
    

    However "none" is not currently recognized:

    $ bitcoin/src/bitcoin-cli logging "[\"none\"]"
    error code: -8
    error message:
    unknown logging category none
    

    This patch adds the string "none" to match the help instructions.

  2. logging: accept "none" as argument for rpc logging 2b81aa620d
  3. DrahtBot commented at 4:00 PM on March 15, 2023: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

  4. jonatack commented at 4:02 PM on March 15, 2023: contributor

    I don't think that brings the missing functionality (see #27231, am updating it to just drop the functionality).

  5. fanquake commented at 4:03 PM on March 15, 2023: member

    See also #27231.

  6. pinheadmz commented at 4:03 PM on March 15, 2023: member

    word! sorry, will track #27231 and review when its ready

  7. pinheadmz closed this on Mar 15, 2023

  8. bitcoin locked this on Mar 14, 2024

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-29 03:13 UTC

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