Hi:
I just noticed that all of my logging (i.e. ESP_LOGE, etc.) from all tasks after the first task do not show up in the monitor. I figured this would be a FAQ, but I can't find any mention of this. Is this support?
Logging from another task/thread
-
- Posts: 9766
- Joined: Thu Nov 26, 2015 4:08 am
Re: Logging from another task/thread
That is odd... you should be able to log from any task. Do you have some code that shows the issue? Also, what esp-idf version are you using?
Re: Logging from another task/thread
I'm on ESP-IDF master/2bfdd036b2dbd07004c8e4f2ffc87c728819b737. I'm doing USB host stuff, so needed new stuff in 4.3.
My code is at https://github.com/BigMumf/display-keyboard. Looking more closely I'm not sure it's dropping logging from other tasks, but it is definitely dropping log messages - of all log levels.
My default log verbosity is INFO and my logging is going to UART0 and not CDC.
My code is at https://github.com/BigMumf/display-keyboard. Looking more closely I'm not sure it's dropping logging from other tasks, but it is definitely dropping log messages - of all log levels.
My default log verbosity is INFO and my logging is going to UART0 and not CDC.
Who is online
Users browsing this forum: No registered users and 132 guests