nrf5340 network core logging

Hi,

I'm running hello world sample on both app & net core in nRF5340 SOC but logging on network core is working as expected. What I'm missing?

Code

#include <stdio.h>
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/logging/log.h>

LOG_MODULE_REGISTER(MAIN_NET, LOG_LEVEL_INF);

int main(void)
{
    while(1) {
        LOG_INF("Hello World! %s\n", CONFIG_BOARD_TARGET);
        k_msleep(1000);
    }

    return 0;
}

Logging 

DK Used: nRF7002DK

Platform: nRF VS Code Extension (v2.8.0)

Expected Output: Continuous logging output from both the cores.

There is no information on network core logging configuration if any in the doc https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/nrf/device_guides/nrf53/logging_nrf5340.html

Looking forward for a solution, Thanks!

Related