How to properly activate zephyr logs with network syslog backend to work over LTE-M for nrf9160 custom device?
How to properly activate zephyr logs with network syslog backend to work over LTE-M for nrf9160 custom device?
Hi
I'm sorry about the late reply here, as we've been low on staff for the holiday period. There has not been any updates internally. Michal should be back later this week and continue trying reproducing this. I just wanted to give you a status update. You should hear something from him (or me) by the end of next week (January 17th).
Best regards,
Simon
Hi
Thank you and I am waiting for a solution to the problem, because the issue is still urgent.
Hi
Thank you and I am waiting for a solution to the problem, because the issue is still urgent.
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.