No Logfile from lora-gateway-bridge



I have installed a Lora-Gateway-Bridge on my Multitech MTCDT 246A Gateway following the instructions on and
On in section “LoRa Gateway Bridge receives data?” is described that the Lora-Gateway-Bridges logs into file /var/log/lora-gateway-bridge/lora-gateway-bridge.log. A created the directory lora-gateway-bridge, but there isn’t a logfile. Where is this to configure?.

Thanks in advance


It describes two ways for getting the logs. Depending your setup, it is one or the other.


I have read the instructions on website OS on the the Multitech GW is mLinux which supports start/stop through init.d. But directory /var/log/lora-gateway-bridge is empty.


Same too me. I installed all the 4 modules (lora-app-server, lora-gateway-bridge, lora-geo-server, loraserver) but no logs are produced.
You got empty file. To me, for example, the file doesn’t exist:

root@loraserver:~# ls -l /var/log/loraserver/
totale 0

Can someone help us?


Ah, ok. With systemd there are no log files we need a:
journalctl -u loraserver -f -n 50

In your case:
journalctl -u lora-gateway-bridge -f -n 50


Sorry, but on mLinux runs no systemd and for this reason journalctl and systemctl are unknown commands. So there should be an logfile as described on website


All logs are written to /var/log/lora-gateway-bridge/lora-gateway-bridge.log . To view and follow this logfile:

tail -f /var/log/lora-gateway-bridge/lora-gateway-bridge.log


The example that you give applies to the .deb packages, which does not apply for the Conduit.

There are no log written for the Conduit as the /var/log is (I believe) an in-memory file-system (as you don’t want to write to the NAND flash constantly). Given that the device only has 256MB which is used for booting the system + some in-memory FS mounts, there is not much space for writing logs.

You could also start the lora-gateway-bridge process manualy for debugging and use the -c flag to point it to the lora-gateway-bridge.toml file.