This is an automated email from Gerrit.

"Tomas Vanek <van...@fbl.cz>" just uploaded a new patch set to Gerrit, which 
you can find at https://review.openocd.org/c/openocd/+/8116

-- gerrit

commit 4ef7715d09fbc276660a866bc7e29f3297adc27c
Author: Tomas Vanek <van...@fbl.cz>
Date:   Mon Jan 22 21:25:59 2024 +0100

    jtag/drivers/jlink: make jlink quiet polling target in -d 3
    
    Jlink driver floods the debug log by a message per one poll interval.
    
    Avoid annoying messages, change their logging level to LOG_DEBUG_IO
    
    Signed-off-by: Tomas Vanek <van...@fbl.cz>
    Change-Id: I84ea6aa9cdfd44b5985c5393519d1efb7de9530a

diff --git a/src/jtag/drivers/jlink.c b/src/jtag/drivers/jlink.c
index 5743d8d6eb..97dc351fdf 100644
--- a/src/jtag/drivers/jlink.c
+++ b/src/jtag/drivers/jlink.c
@@ -2108,7 +2108,7 @@ static int jlink_swd_switch_seq(enum swd_special_seq seq)
 
        switch (seq) {
                case LINE_RESET:
-                       LOG_DEBUG("SWD line reset");
+                       LOG_DEBUG_IO("SWD line reset");
                        s = swd_seq_line_reset;
                        s_len = swd_seq_line_reset_len;
                        break;
@@ -2157,7 +2157,7 @@ static int jlink_swd_run_queue(void)
        int i;
        int ret;
 
-       LOG_DEBUG("Executing %d queued transactions", 
pending_scan_results_length);
+       LOG_DEBUG_IO("Executing %d queued transactions", 
pending_scan_results_length);
 
        if (queued_retval != ERROR_OK) {
                LOG_DEBUG("Skipping due to previous errors: %d", queued_retval);

-- 

Reply via email to