¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Reducing syslog output


 

¿ªÔÆÌåÓý

There is no way to stop these being written. They are primarily for debugging, so suppressing them will only be a problem when something goes wrong. Maybe I should add a debug level option

73,
John


On 21/05/2023 12:31, Tom M0LTE wrote:

Hi
I'm looking to reduce BPQ's syslog output in order to preserve the life of my Pi's SD card. (I don't wish to move to temporary logging or a read-only filesystem.)

I see many lines like

May 21 11:34:28 gb7rdg-node LINBPQ[3390]: BPQ32 Heartbeat Buffers 999#015

and periodically:
May 21 08:29:29 gb7rdg-node LINBPQ[3390]: Resolving update.g8bpq.net#015
May 21 08:29:29 gb7rdg-node LINBPQ[3390]: Resolving chatupdate.g8bpq.net#015
May 21 08:39:32 gb7rdg-node LINBPQ[3390]: CMS #0 54.80.14.54 Official name : ec2-54-80-14-54.compute-1.amazonaws.com#015
May 21 08:39:32 gb7rdg-node LINBPQ[3390]: CMS #1 54.80.114.144 Official name : ec2-54-80-114-144.compute-1.amazonaws.com#015
May 21 08:54:42 gb7rdg-node LINBPQ[3390]: CMS #0 54.80.114.144 Official name : ec2-54-80-114-144.compute-1.amazonaws.com#015
May 21 08:54:42 gb7rdg-node LINBPQ[3390]: CMS #1 54.80.14.54 Official name : ec2-54-80-14-54.compute-1.amazonaws.com#015

Is there a way to disable that logging through config? Or am I best off commenting out lines in source code?

Filtering those out from today's syslog leaves me with this:
May 21 01:00:02 gb7rdg-node LINBPQ[3390]: |Enter HouseKeeping#015
May 21 07:11:15 gb7rdg-node LINBPQ[3390]: BPQ32 L2 Link to Neighbour GB7CIP-5? ?lost#015
May 21 09:34:35 gb7rdg-node LINBPQ[3390]: BPQ32 L2 Link to Neighbour GB7WOD? ? ?lost#015
May 21 10:01:05 gb7rdg-node LINBPQ[3390]: BPQ32 L2 Link to Neighbour GB7WOD? ? ?lost#015
May 21 11:03:41 gb7rdg-node LINBPQ[3390]: BPQ32 overlong KISS frame - len = 539 Port 1#015
May 21 11:03:53 gb7rdg-node LINBPQ[3390]: BPQ32 L2 Link to Neighbour GB7WOD? ? ?lost#015
May 21 11:09:12 gb7rdg-node LINBPQ[3390]: Saving WP Database to /opt/linbpq/WP.cfg#012#015
May 21 11:55:34 gb7rdg-node LINBPQ[3390]: BPQ32 L2 Link to Neighbour GB7WOD? ? ?lost#015
May 21 12:06:00 gb7rdg-node LINBPQ[3390]: BPQ32 L2 Link to Neighbour G5ODB? ? ? lost#015
May 21 12:07:24 gb7rdg-node LINBPQ[3390]: Delete Node for ALIAS:G5ODB Called with active L4 Session - State 5#015

most of which seems fairly useful - excepting "Enter HouseKeeping" and "Saving WP Database" which I see as internal.

Cheers
Tom

Join [email protected] to automatically receive all group messages.