-
Notifications
You must be signed in to change notification settings - Fork 1
Logs Via MQTT
Calin Crisan edited this page Jul 11, 2021
·
3 revisions
Important log files are sent via MQTT so that they can be displayed in real-time to users.
The init script /etc/init.d/S89sendlogs follows configured log files and sends each new line to MQTT using mosquitto_pub
.
The MQTT connection is configured in /etc/mqtt-send.conf.
Each log line is sent in one MQTT message.
The log is sent to the following topic: units/$OS_PREFIX}/${RPI_SN}/logs/packet_forwarder
.
The log is sent to the following topic: units/$OS_PREFIX}/${RPI_SN}/logs/miner
.