GitHub Copilot Logs
Diagnostic logging from the GitHub Copilot extension accumulates under the per-user .copilot\logs folder as rotating text log files that record authentication checks, language server handshakes, request timing, proxy failures, completion errors, and chat transport events. These logs are written to help troubleshoot the Copilot agent, IDE extension host, and network interactions, but older files stop being useful once the issue window has passed and can pile up across many editor sessions. Kudu removes GitHub Copilot diagnostic logs older than one week while leaving chat sessions, edit sessions, credentials, extension settings, and IDE project data untouched.
Why clean GitHub Copilot Logs?
- Verbose Copilot diagnostics from repeated IDE launches and extension reloads can leave hundreds of old log files behind, showing up as unexpected disk usage in the user profile even though active Copilot data is small
- When logging captures repeated authentication retries, proxy errors, or failed completion requests, old files grow quickly and make the .copilot folder look like Copilot itself is bloated
- Large backlogs of stale timestamped logs make troubleshooting harder because current failures are buried under outdated extension host and language server events from previous weeks
- Developers who open many repositories or run multiple supported IDEs on the same Windows account often see Copilot generate separate daily logs, creating clutter without improving current completions or chat behavior
- Old diagnostic traces can preserve obsolete TLS, proxy, and endpoint failure noise after a network change, so cleaning them makes it easier to confirm whether a present-day sign-in or suggestion problem is actually resolved
- Keeping only recent logs reduces the amount of incidental request metadata left on disk while preserving accounts, credentials, chat history, edit sessions, and workspace files
Cache paths Kudu targets
Windows
~/.copilot/logs |
Common questions about GitHub Copilot Logs
Download Kudu and reclaim your disk space.
Available on Windows, macOS, and Linux. No account required, no feature gates, no telemetry without consent. All cleaning targets are open source and community-auditable.