-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
Checklist
- Checked the issue tracker for similar issues to ensure this is not a duplicate
- Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
- Tested with the latest version to ensure the issue hasn't been fixed
How often does this bug occurs?
always
Expected behavior
--- esp-idf-monitor 1.5.0 on /dev/ttyUSB0 115200
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
--- Print filter: "main_task:I"
I (00:00:00.106) main_task: Started on CPU0
I (00:00:00.117) main_task: Calling app_main()
Actual behavior (suspected bug)
--- esp-idf-monitor 1.5.0 on /dev/ttyUSB0 115200
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
--- Print filter: "main_task:I"
The issue is that the regex responsible for checking the log level and tag doesn't account for it:
https://github.com/espressif/esp-idf-monitor/blob/master/esp_idf_monitor/base/line_matcher.py#L26
Error logs or terminal output
--- esp-idf-monitor 1.5.0 on /dev/ttyUSB0 115200
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
--- Print filter: "main_task:I"
Steps to reproduce the behavior
Go to hello_world
example and build it with CONFIG_LOG_TIMESTAMP_SOURCE_SYSTEM=y
:
cd examples/get-started/hello_world
idf.py menuconfig
idf.py flash monitor --print-filter "main_task:I"
Project release version
master, latest, v1.5.0
System architecture
Intel/AMD 64-bit (modern PC, older Mac)
Operating system
Linux
Operating system version
Linux 6.12.17-1-MANJARO
Shell
ZSH
Additional context
idf5.2_py3.13_env
environment