Ryan Ofsky
251ea7367c
Merge bitcoin/bitcoin#31767 : logging: Ensure -debug=0/none behaves consistently with -nodebug
...
7afeaa2469 test: `-debug=0` and `-debug=none` behave similarly to `-nodebug` (Daniela Brozzoni)
a8fedb36a7 logging: Ensure -debug=0/none behaves consistently with -nodebug (Daniela Brozzoni)
d39d521d86 test: `-nodebug` clears previously set debug options (Daniela Brozzoni)
Pull request description:
Previously, -nodebug cleared all prior -debug configurations in the command line while allowing subsequent debug options to be applied.
However, -debug=0 and -debug=none completely disabled debugging, even for categories specified afterward.
This commit ensures consistency by making -debug=0 and -debug=none behave like -nodebug: they now clear previously set debug configurations but do not disable debugging for categories specified later.
See https://github.com/bitcoin/bitcoin/pull/30529#discussion_r1930956563
ACKs for top commit:
hodlinator:
re-ACK 7afeaa2469
ryanofsky:
Code review ACK 7afeaa2469 . Nicely implemented change with test and release notes, and I like how the test is implemented as the first commit.
maflcko:
review ACK 7afeaa2469 👡
Tree-SHA512: c69b17ff10da6c88636bd01918366dd408832e70f2d0a7b951e9619089e89c39282db70398ba2542d3aa69a2fe6b6a0a01638b3225aff79d234d84d3067f2caa
2025-02-13 08:40:12 -05:00
..
2025-01-27 16:50:16 -05:00
2025-01-13 21:53:56 +01:00
2024-03-01 13:13:07 -05:00
2024-12-17 10:12:31 +07:00
2024-02-27 18:28:19 +00:00
2025-01-27 16:50:16 -05:00
2025-01-09 15:17:02 +01:00
2025-02-11 12:01:28 +01:00
2025-01-05 17:28:19 +01:00
2025-02-10 08:26:01 -05:00
2025-01-20 21:19:39 +01:00
2025-01-16 11:09:56 +00:00
2024-08-29 13:49:57 +02:00
2024-06-12 14:38:39 +01:00
2025-02-10 08:26:01 -05:00
2025-02-04 11:53:11 -05:00
2024-07-08 11:12:01 +02:00
2025-02-06 10:30:30 +00:00
2025-02-10 08:26:01 -05:00
2025-01-21 13:17:20 -05:00
2024-11-04 14:59:46 -05:00
2024-12-10 21:51:48 +01:00
2025-02-12 12:16:20 +01:00
2024-12-20 15:01:44 +01:00
2025-02-12 16:02:57 +01:00
2025-01-31 15:45:14 -05:00
2024-10-25 18:09:36 +01:00
2023-12-15 15:20:54 +01:00
2024-09-14 20:33:32 +03:00
2024-10-28 12:36:19 +00:00
2023-09-05 10:13:25 +02:00
2024-07-30 14:06:58 -04:00
2024-07-30 14:06:58 -04:00
2024-09-20 12:55:22 -04:00
2024-11-11 12:47:53 -03:00
2024-11-11 12:47:53 -03:00
2025-01-09 10:11:46 -05:00
2025-01-03 09:19:53 -05:00
2025-01-14 19:21:37 +01:00
2024-05-30 08:35:18 -04:00
2024-12-19 13:46:31 +01:00
2024-10-19 18:49:53 +02:00
2024-10-19 18:49:53 +02:00
2023-09-10 16:11:52 -04:00
2023-09-10 16:11:52 -04:00
2025-01-20 21:19:39 +01:00
2024-10-28 12:36:19 +00:00
2025-01-15 12:15:40 +01:00
2024-10-28 12:36:19 +00:00
2025-01-15 12:15:40 +01:00
2024-10-28 12:36:19 +00:00
2025-01-15 12:15:40 +01:00
2024-10-28 12:36:19 +00:00
2025-01-15 12:15:40 +01:00
2024-10-28 12:36:19 +00:00
2025-01-16 21:06:21 +00:00
2024-08-29 13:49:57 +02:00
2024-07-08 11:12:01 +02:00
2024-05-16 10:16:08 -05:00
2023-08-17 18:28:15 +02:00
2024-09-17 09:54:18 +02:00
2024-10-28 11:38:38 -04:00
2024-11-14 13:41:02 -05:00
2024-11-14 13:41:02 -05:00
2024-08-27 07:00:27 +02:00
2024-12-03 18:02:37 -05:00
2025-01-14 19:21:37 +01:00
2024-10-28 12:35:49 +00:00
2024-11-11 14:14:39 +00:00
2025-02-10 15:01:05 +01:00
2024-12-04 14:09:05 -05:00
2024-12-02 13:52:34 +01:00
2023-08-14 17:38:27 -04:00
2024-06-07 13:55:23 -04:00
2024-11-26 20:47:08 -05:00
2024-12-05 14:37:47 +00:00
2024-06-07 13:55:23 -04:00
2024-07-04 22:35:29 +02:00
2024-11-30 20:19:08 +01:00
2024-11-30 20:19:08 +01:00
2024-05-16 15:03:13 -04:00
2024-08-13 07:44:31 +02:00
2024-08-29 13:49:57 +02:00
2024-07-24 09:39:35 +02:00
2024-01-05 17:12:38 +01:00
2024-11-04 14:59:46 -05:00
2024-08-29 13:49:57 +02:00
2024-07-08 11:12:01 +02:00
2024-12-03 10:38:21 +01:00
2024-12-04 15:09:05 -04:00
2024-11-04 17:08:21 +01:00
2024-06-26 15:28:26 -04:00
2024-06-12 16:19:50 -03:00
2025-02-10 08:26:01 -05:00
2025-01-16 21:06:21 +00:00
2024-10-27 15:38:54 +01:00
2023-08-14 17:38:27 -04:00
2024-08-04 08:52:22 +02:00
2024-08-04 08:51:36 +02:00
2024-10-01 11:31:39 +02:00
2024-10-01 11:31:39 +02:00
2024-10-25 15:02:07 -04:00
2024-10-24 18:23:30 +02:00
2024-11-04 18:46:40 +01:00
2024-04-07 14:04:45 +01:00
2024-07-08 11:12:01 +02:00
2024-05-16 10:16:08 -05:00
2024-02-28 10:05:56 -03:00
2025-02-04 10:25:22 +01:00
2024-10-01 21:55:18 -04:00
2024-05-20 16:48:19 +00:00
2024-07-08 11:12:01 +02:00
2025-02-11 11:04:39 -08:00
2024-11-26 13:22:55 +01:00
2025-01-13 21:53:56 +01:00
2025-01-13 21:53:56 +01:00
2024-10-10 12:22:12 +02:00
2024-09-10 11:20:40 -03:00
2023-12-06 11:22:42 -05:00
2023-12-02 22:03:08 +01:00
2023-11-20 14:02:27 +01:00
2024-03-21 16:41:16 +01:00
2024-05-03 14:20:44 -03:00
2024-05-03 14:20:44 -03:00
2025-01-22 11:29:05 +01:00
2025-01-22 11:29:05 +01:00
2024-09-11 17:41:26 +02:00
2024-10-26 23:44:15 +02:00
2024-10-26 23:44:15 +02:00
2024-05-16 10:16:08 -05:00
2024-07-11 19:08:46 +01:00
2024-12-16 10:39:28 +01:00
2024-08-28 19:09:51 +02:00
2024-12-16 15:23:56 +01:00
2025-01-14 19:01:53 +01:00
2024-10-21 23:24:17 +02:00
2025-01-22 15:01:23 -05:00
2024-02-15 14:43:14 +01:00
2024-02-16 17:12:52 +01:00
2024-12-19 14:41:21 +01:00
2024-08-29 13:49:57 +02:00
2024-12-19 13:46:52 +01:00
2024-11-04 18:46:40 +01:00
2024-12-19 14:39:55 +01:00
2024-05-16 18:16:46 +02:00
2024-07-08 11:12:01 +02:00
2024-07-08 11:12:01 +02:00
2025-01-15 12:16:08 +01:00
2024-12-13 18:56:37 -05:00
2024-11-14 13:41:02 -05:00
2024-09-18 20:03:47 +02:00
2025-01-15 15:44:55 +01:00
2024-12-31 00:04:20 -03:00
2024-12-31 00:04:20 -03:00
2025-02-07 13:55:57 -05:00
2025-02-07 13:55:57 -05:00
2025-01-29 18:05:16 -05:00
2025-01-29 18:05:16 -05:00
2024-07-24 09:15:34 +02:00
2025-01-03 09:19:53 -05:00
2023-11-16 11:36:22 +10:00
2025-01-31 15:45:14 -05:00
2025-01-16 15:04:58 +00:00
2024-10-08 15:25:47 +00:00
2024-07-25 11:01:22 +01:00
2024-07-08 11:12:01 +02:00