⬡Logging & diagnostics
Diagnostics for when something looks off: open the rotating log files, check the running version, or force a full reload of the panel data.
Open logs folder hydragit.openLogs
- CommandHydraGit: Open Logs Folder — reveals the log directory in your OS file manager.
Show version info hydragit.showVersionInfo
- CommandHydraGit: Show Version Info — shows the version (and build metadata) in the Output Channel and an info message.
Force refresh hydragit.forceRefresh
- CommandHydraGit: Force Refresh — re-pulls status, branches, log, stash and tags if the panel ever looks stale.
Where logs live
| Layer | Format | Location |
|---|---|---|
| Go backend | JSON lines, daily files hydragit-YYYY-MM-DD.log (kept 7 days) | Logs folder (HYDRAGIT_LOG_DIR) |
| Extension host | TIMESTAMP LEVEL [source] msg | Output Channel "HydraGit" |
| Webview | console.* | Webview DevTools (F12) |
The Go log captures every git command (with duration + exit code) and every IPC request/response; the TS channel captures activate/deactivate, process spawn/crash and Go stderr.
iTo inspect logs, filter by a specific request
id or time range rather than reading whole files.