Page 2 of 2

Re: Using esp_log_set_vprintf() function

Posted: Fri Mar 15, 2019 10:34 am
by papaluna
How does this work ?
I've tried using it inside my code but _log_remote_fp and fileno are undefined.
Also, how many logs can the file hold up ? When does it start deleting old logs ?
I had provided the code snippets to get you started.

This is an example ESP-IDF project in the Starter Kit ... main.c#L40 that works out of the box.

The max number of log entries depends on the partition size.