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?
Are you saying this is what you're seeing too? Where are you outputting this syslog exactly on your end?
Best regards,
Simon
I meant that the example project I showed you is compiling and I can see the logs in the shell terminal. However, I do not see logs of the Syslog type (RFC 5424) on the server specified in the configuration (169.46.82.174:25736). In the example, I use a server that is provided by service https://papertrailapp.com. However, in reality there should be a full-fledged Syslog server.
I understand. I will check if that is something that we have tested with our devices.
Best regards,
Michal
I understand. I will check if that is something that we have tested with our devices.
Best regards,
Michal
Have you checked with some tool on your computer that the syslog server is working properly by the way?
Best regards,
Michal
Hi.
Yes, I can send data to the server in different ways. For example by commands from WSL shell:
echo check from wsl ip at 2024.11.14 14:04 local time | nc -w0 -u 169.46.82.174 25736
Are you able to connect to the server otherwise from the nRF9160? For example ping it maybe?
Yes. If I download the Modem Shell (MoSh) example to my nRF9160-DK, I can ping from my operator's network and send data via a socket commands.
What happens if you add "tcp://" in your CONFIG_LOG_BACKEND_NET_SERVER?