Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

v1.4.1

Choose a tag to compare

@statico statico released this 27 Dec 22:18
· 154 commits to main since this release
9ffab8e

New Features

Verbose Logging for Debugging (--enable-logging / -L)

Added comprehensive logging system to help diagnose unexpected CLI crashes and connection issues.

Usage:

meshtastic-cli --enable-logging
# or
meshtastic-cli -L

What gets logged:

  • All HTTP network requests and responses
  • Packet decoding details (including all portnum types)
  • Database operations (queries, inserts, updates)
  • Connection lifecycle events
  • App state changes
  • Detailed error information with stack traces

Log file location: ~/.config/meshtastic-cli/log

Features:

  • Zero performance overhead when disabled (default)
  • Non-blocking buffered writes (500ms flush interval)
  • Automatic log rotation at 5MB file size
  • Structured JSON-like format with timestamps and context
  • Enhanced error handling throughout the codebase

This feature is particularly useful when the CLI exits unexpectedly - check the log file to see exactly what happened!

Improvements

  • Added try-catch blocks around packet processing to prevent single bad packets from crashing the app
  • Enhanced error recovery in transport reading loop
  • Better error context in all logging statements

Full Changelog: v1.4.0...v1.4.1

Full Changelog: v1.4.0...v1.4.1