Skip to content

Improve debug logging for mesh packets#99

Closed
mullerch wants to merge 1 commit intochirpstack:masterfrom
Wifx:better-debug-logs
Closed

Improve debug logging for mesh packets#99
mullerch wants to merge 1 commit intochirpstack:masterfrom
Wifx:better-debug-logs

Conversation

@mullerch
Copy link
Contributor

Currently, LoRa proprietary packets are all considered as ChirpStack mesh packets, leading to several types of error and warnings on parsing.

The nominal use of the Gateway Mesh should not report any errors/warnings for some other packets being ignored. It should only report errors that affect the software functionality as errors. In the same way, packet signed with another mesh network MIC should not log warnings, as ignoring those packets is the expected behavior.

In this PR, those errors and warning have some details added to better understand why the packets are ignored and are logged in the debug level. If the use case is debugging the mesh network, the debug level should be enabled.

Signed-off-by: Christian Müller <christian.muller@wifx.net>
@brocaar brocaar closed this in d4c8130 Jan 28, 2026
@brocaar
Copy link
Contributor

brocaar commented Jan 28, 2026

I've fixed an issue with the test and merged this. Thanks @mullerch 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments