chirpstack / chirpstack-gateway-bridge

ChirpStack Gateway Bridge abstracts Packet Forwarder protocols into Protobuf or JSON over MQTT.
https://www.chirpstack.io
MIT License
425 stars 273 forks source link

Log node frames not appearing #49

Closed monkmahadeva closed 7 years ago

monkmahadeva commented 7 years ago

bug

I want to see the packets recieved in the frame_log

in loraserver config file LOG_NODE_FRAMES is set to true

loraserver version 0.20.0 screenshot from 2017-08-16 14-33-19

brocaar commented 7 years ago
  1. Did you restart LoRa Server after changing the configuration?

You can see the current active environment variables using:

# get the PID of the loraserver process
ps aux |grep loraserver

# print process environment variables (replace {LORASERVER_PID_HERE} with the PID)
cat /proc/{LORASERVER_PID_HERE}/environ
  1. Is the node activated? LoRa Server only logs frames for activated nodes. The fact that your gateway received a frame does not mean that the frame gets logged. It only gets logged for activated and authenticated nodes! E.g. when you receive data on the application/+/node/+/rx MQTT topic.

I don't think this is a bug, but if the above does not solve your issue, please open an issue here: https://github.com/brocaar/loraserver. As that is the component responsible for logging the frames.