View service logs with monit


#1

Hello. I’ve just installed LoRa Gateway OS on Raspberry PI 3 (RAK831) and made initial setup so that I’m able to get into the App Server web interface.

All of the services are controlled using the monit. I’m not able to see any packets from my RAK831 so the question is:

How can I view the logs of the services? I want to see the packet-forwarder logs. There is no journalctl in the Gateway OS image.


#2

As indicated by brocaar in the other topic you replied to, you can log the output of the packet forwarder by starting it with the following commands:

cd /etc/lora-packet-forwarder
sudo /opt/lora-packet-forwarder/lora_pkt_fwd

That’s actually how I was able to get the logs I provided.