Skip to content

Commit

Permalink
demote the pylink log level #again
Browse files Browse the repository at this point in the history
  • Loading branch information
ldab authored Jul 18, 2024
1 parent 2dfcef6 commit 0c5c3f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/pytest/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ def flash():

def read_rtt(target_device="nRF5340_XXAA", timeout_ms=10000):
"""Read Segger RTT output"""
jlink = pylink.JLink(level=logging.WARNING)
jlink = pylink.JLink()
logging.getLogger("pylink.jlink").setLevel(logging.WARNING)
log.info("Connecting to JLink...")
jlink.open(serial_no=SERIAL_NUMBER)
log.info("Connecting to %s..." % target_device)
Expand Down

0 comments on commit 0c5c3f6

Please sign in to comment.