To me the strategy seems good, but you can ripple it
right along and it's a lot of stuff to change. I would love to be able to
selectively turn on messages from almost every subsystem/category. The current
system is "nothing,some status,
some_more status,firehose" where to fix the tricky stuff,
Today we have in OpenOCD
enum log_levels {
LOG_LVL_SILENT = -3,
LOG_LVL_OUTPUT = -2,
LOG_LVL_USER = -1,
LOG_LVL_ERROR = 0,
LOG_LVL_WARNING = 1,
LOG_LVL_INFO = 2,
LOG_LVL_DEBUG = 3,
LOG_LVL_DEBUG_IO = 4,
};
[...]
My proposal
This is an automated email from Gerrit.
"Name of user not set " just uploaded a new patch set
to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/9078
-- gerrit
commit c11cfcd0293cf12181dd05e152b48f90993e70d2
Author: NikLeberg
Date: Mon Aug 11 13:19:08 2025 +0200
jta
This is an automated email from Gerrit.
"Antonio Borneo " just uploaded a new patch set to
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/9077
-- gerrit
commit 6a6f5dbecbded921a5b42c0cbb4e6b57c3073df4
Author: Antonio Borneo
Date: Tue Aug 5 12:06:22 2025 +0200
targe