Logging

nRF Connect SDK v2.0.0
VS Code 1.70.2
nRF9160 development kit

To view all possible log messages the fololwing logging configuration is set up in prj.conf:

CONFIG_LOG=y
CONFIG_LOG_MODE_IMMEDIATE=y
CONFIG_LOG_OVERRIDE_LEVEL=4
This causes a Cortex hard fault in debugger session.
With CONFIG_LOG_OVERRIDE_LEVEL=3 no problem and it is possible to step through the application in the debugger.
Increasing thread stack size does not help.
Does anyone known how to solve this?
Related