3.9 KiB
title, parent, nav_order, last_updated, description, aliases
| title | parent | nav_order | last_updated | description | aliases | ||||
|---|---|---|---|---|---|---|---|---|---|
| デバッグログ | ユーザーガイド | 22 | 2026-08-30 | アプリのデバッグログをアプリ内で表示・エクスポートし、バグの診断に役立つよう GitHub の issue にキャプチャを添付できます。adb は不要です。 |
|
デバッグログ
何か不具合が起きたとき、アプリのデバッグログは、バグ報告に添付できる最も役立つものです。 Meshtastic can capture them for you, from inside the app — you don't need adb or any desktop tooling to collect them.
「設定 → 詳細設定 → デバッグパネル」から「デバッグパネル」を開きます。
If you're filing an issue, export your logs (see Exporting) and attach the .txt file to your report on the Meshtastic-Android issue tracker. 問題が起きた瞬間を含むログのキャプチャは、「動かない」という報告を、開発者が実際に追跡できるものに変えます。
2 つのタブ
デバッグパネルには 2 つのタブがあります:
- パケット:無線機が送受信した、デコード済みのメッシュトラフィック(プロトコルレベルのメッセージ)。 メッシュやルーティングの動作を診断するのに役立ちます。
- アプリログ:アプリ自身の診断ログ(Android の logcat)。アプリからの警告、エラー、スタックトレースを含みます。 通常、バグ報告に必要なのはこちらです。
各タブには独自のエクスポートボタンがあり、それぞれ別のファイルを生成するため、関連する方を、または両方を取得できます。
アプリログを表示する
The App logs tab shows the most recent log lines from this app only — never other apps on your phone.
- 検索:検索ボックスに入力すると、一致する行に絞り込めます。
- レベルフィルター:V/D/I/W/E のチップで、Verbose、Debug、Info、Warn、Error の行を切り替えます。 レベルをタップすると非表示になり、もう一度タップすると再表示されます。 Fatal の行は常に表示されます。
- 更新:更新アイコンで最新のログを読み直します。
エラーと警告の行は色付けされ、問題が目立つようになっています。
エクスポート
ダウンロードアイコンをタップすると、現在のログをファイルに保存できます。 The app first shows a warning about what the file contains — confirm it, then choose where the file goes through the system file picker. The file is named with a timestamp (for example meshtastic_logcat_20260701_143312.txt) so repeated exports never overwrite each other. The same warning guards the Packets tab export.
そのファイルを GitHub の issue に添付してください。
🔒 Privacy: Exports automatically redact private keys, admin keys, session passkeys, and channel PSKs, and suppress raw packet bytes. Everything else stays — the file can contain your message text, precise locations, and node details. Read it before sharing it publicly, and share privately if you have any doubt.
デスクトップ
デスクトップアプリにはシステムの logcat がないため、「アプリログ」タブは代わりに、アプリ自身がキャプチャしたログ出力を表示します。 検索、絞り込み、エクスポートは同じように機能します。
関連トピック
- ヘルプとアプリ内ドキュメント:このドキュメントをアプリ内でオフラインで読む
- コネクション:そもそも無線機に接続できないことが問題の場合