User Tools

Site Tools


LibBPQ logs most bits to /var/log/syslog

This also includes some very chatty 'Heartbeats'

May 13 22:38:39 linbpq_box1 LINBPQ[5905]: BPQ32 Heartbeat Buffers 998 APRS Queues 0 0#015

To save SD card writes, you can re-direct this out to RAM (/run - or somewhere else that is RAM on your system)

To do this, you need to create a new file


and add to it:

if $msg contains 'BPQ32 Heartbeat' then /run/linbpq-buffers.log

( note, if you are on an older version on rsyslog, you need & ~ instead of & STOP )

Then restart rsyslogd

sudo systemctl restart rsyslogd

This may fill up your RAM, so you can do several things

  • Create a CRON job to delete this file (or archive it etc)
  • use logrotate

To use logrotate, to compress the files and only keep 7 days:

Create a file

cat /etc/logrotate.d/linbpq-buffers

Add this to the file

/run/linbpq-buffers.log {
     rotate 7
packet/bpq_logging_reduction.txt · Last modified: 2024/05/16 08:58 by g7taj