Syslog backend over LTE-M for nrf9160

How to properly activate zephyr logs with network syslog backend to work over LTE-M for nrf9160 custom device?

Parents Reply Children
  • Sorry for the long delays, I haven't managed to get it working on 2.0.2.

    I think we may have not supported syslog on our devices back then.

    Worst case I am afraid that getting it to work may require backporting some drivers on your side and integrating them with an older version.

    Currently those are the errors I'm getting:

    /ncs/toolchains/v2.0.2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/libzephyr.a(log_backend_net.c.obj): in function `line_out':
    /ncs/v2.0.2/zephyr/subsys/logging/log_backend_net.c:67: undefined reference to `net_context_send'
    /ncs/toolchains/v2.0.2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/libzephyr.a(log_backend_net.c.obj): in function `do_net_init':
    /ncs/v2.0.2/zephyr/subsys/logging/log_backend_net.c:107: undefined reference to `net_context_get'
    collect2: error: ld returned 1 exit status

    Best regards,

    Michal

  • Well, I understand and thank you for your efforts. I will try to implement my own syslog library.

Related