You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Logging: full AppHandle Debug dump on every line of transcribe_audio (≈96% of log size) #2367
The transcribe_audio span includes app: AppHandle without skip, so every event inside it
prints the full AppHandle Debug output (~9 KB: Tauri config, CSP, plugin list, state TypeIds...).
Combined with per-chunk INFO logging during resampling (Processing chunk N / Successfully resampled chunk N, 818 lines for one 14-min file), a single transcription attempt
produced a 7.7 MB log: 950 lines, 837 of them with the dump. Without the dumps it's 322 KB.
Suggested:
#[instrument(skip(app))] on transcribe_audio (and any other command taking AppHandle).
Per-chunk progress at DEBUG/TRACE, or one progress line per N%.
Minor: daily log files are named cap-desktop.log.2026-09-28; macOS doesn't treat them as
logs (no Console.app double-click). RollingFileAppender::builder().filename_suffix("log")
would give cap-desktop.2026-09-28.log.
Minor: System audio dropping frames WARN is repeated every 5 s even when the drop counter
hasn't changed.
Hey @Brendonovich, transcribe_audio has #[instrument] without skip(app), which dumps the ~9KB AppHandle Debug struct on every log line. Happy to open a PR adding skip(app) and lowering the chunk logs to debug!!
Activity
linear commentedon Sep 28, 2026
CAP-829
avinash-git-24 commentedon Sep 28, 2026
Hey @Brendonovich,
transcribe_audiohas#[instrument]withoutskip(app), which dumps the ~9KBAppHandleDebug struct on every log line. Happy to open a PR addingskip(app)and lowering the chunk logs todebug!!