Apps

Claude Logs

Diagnostic logging from Claude Desktop and Claude Code accumulates in rotating text logs, structured debug logs, stack traces, crash context, and request or runtime telemetry written under the app's Logs folders and the ~/.claude/debug and ~/.claude/logs directories. These files are useful for troubleshooting renderer, extension, networking, and local tool execution issues, but older log generations can grow quietly over time and preserve outdated error context that no longer matches the current app build. Kudu removes only Claude log files older than one week, leaving conversations, projects, file history, session data, settings, accounts, and passwords untouched.

Why clean Claude Logs?

  • Weeks of retained renderer and backend logs can grow into hundreds of megabytes, so users notice Claude taking up far more disk space than expected even though chats and projects have not increased.
  • Repeated connection failures, MCP or local tool errors, and retry traces can spam the debug logs, causing the log folder to expand rapidly after a bad session and making disk usage jump overnight.
  • Old crash and exception traces often preserve problems from previous builds, so when you inspect logs for a new issue you can be misled by stale stack traces that no longer reflect the current version.
  • Large accumulated log sets make support bundles and manual troubleshooting slower because searching for today's failure means digging through many obsolete rotated files first.
  • On systems with limited free space, constant append-only logging in Claude Desktop or Claude Code can contribute to low-disk warnings, with users noticing save failures, stalled updates, or slower snapshots and backups.
  • Verbose debug sessions for terminal integrations and local file or tool access can leave behind detailed runtime traces long after the problem is resolved, so cleaning older logs reduces leftover diagnostic noise without touching actual work data.
What gets cleaned

Cache paths Kudu targets

Windows

%AppData%/Claude/logs
%LocalAppData%/Claude/Logs
%LocalAppData%/Packages/Claude_pzs8sxrjxfjjc/LocalCache/Local/Claude/Logs
~/.claude/debug
~/.claude/logs

macOS

~/Library/Logs/Claude
~/.claude/debug
~/.claude/logs

Linux

~/.claude/debug
~/.claude/logs
Frequently asked

Common questions about Claude Logs

Free & open source

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.