Background
Troubleshooting #857 required OCR'ing screenshots to get the exact SQL error number and message, because the error UI surfaces text the user can't copy and users don't know where the log file lives (%LocalAppData%\PerformanceMonitorLite\logs\).
AppLogger.Error already captures full SQL error detail — RemoteCollectorService.cs:423 formats SQL Error #{ex.Number}: {ex.Message} and includes inner exceptions and stack traces. The data is there; it's just hard to get to.
Proposed changes
- Help menu → Open Log Folder — opens
%LocalAppData%\PerformanceMonitorLite\logs\ in Explorer. One click to the artifact we actually need for bug reports.
- Copy button / selectable text on the Live Snapshot error indicator — currently the error is a non-selectable TextBlock (
ServerTab.xaml.cs:5320).
- Collection Health: "Last error" column copy + log path hint — tooltip or context menu item on permission-denied / failing collectors that links to the log folder.
Nice-to-have: Help menu → Generate Diagnostic Report that zips the latest log, a redacted copy of connections.json (no credentials), and the detected server metadata (edition, version, tier) into one file for GitHub issues.
Out of scope for this issue
Changing log file format, log verbosity, or adding new log sinks. Just exposing what we already write.
Background
Troubleshooting #857 required OCR'ing screenshots to get the exact SQL error number and message, because the error UI surfaces text the user can't copy and users don't know where the log file lives (
%LocalAppData%\PerformanceMonitorLite\logs\).AppLogger.Erroralready captures full SQL error detail —RemoteCollectorService.cs:423formatsSQL Error #{ex.Number}: {ex.Message}and includes inner exceptions and stack traces. The data is there; it's just hard to get to.Proposed changes
%LocalAppData%\PerformanceMonitorLite\logs\in Explorer. One click to the artifact we actually need for bug reports.ServerTab.xaml.cs:5320).Nice-to-have: Help menu → Generate Diagnostic Report that zips the latest log, a redacted copy of connections.json (no credentials), and the detected server metadata (edition, version, tier) into one file for GitHub issues.
Out of scope for this issue
Changing log file format, log verbosity, or adding new log sinks. Just exposing what we already write.