configure.ac: Replace --enable-malloc-logging with a new runtime log level.
About why the new log level LOG_LVL_DEBUG_USB has the same value a LOG_LVL_DEBUG_MALLOC, see the mailing list discussion starting here: Replacing --enable-verbose-usb-comms in configure.ac https://sourceforge.net/p/openocd/mailman/message/59215751/ Other minor fixes included here which are probably not worth submmitting in separate patches: - In error message "level must be between -3 and 4", increase 4 to 5. - LOG_DEBUG_IO was passing LOG_LVL_DEBUG instead of LOG_LVL_DEBUG_IO. Change-Id: I71440bbabe4785338c0a27562cc76fa1b7d54bf5 Signed-off-by: R. Diez <rdiez-2006@rd10.de> Reviewed-on: https://review.openocd.org/c/openocd/+/9432 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
@@ -9589,7 +9589,8 @@ level 1 adds warnings;
|
||||
level 2 adds informational messages;
|
||||
level 3 adds debugging messages;
|
||||
level 4 adds verbose low-level debug messages;
|
||||
and level 5 adds USB communication messages.
|
||||
and level 5 adds USB communication messages
|
||||
and amount of free heap space if mallinfo is available.
|
||||
The default is level 2, but that can be overridden on
|
||||
the command line along with the location of that log
|
||||
file (which is normally the server's standard output).
|
||||
|
||||
Reference in New Issue
Block a user