Apps

OneDrive Logs

OneDrive writes rotating diagnostic and setup logs under its per-user data folders to record sync engine activity, file change detection, authentication handoffs, updater runs, and installer events. These plain-text trace logs and setup log files accumulate over time, especially on systems with frequent sync retries or update failures, but they are not part of your synced files, account data, or preferences. Kudu removes OneDrive sync client and setup logs older than seven days, freeing space without touching locally stored documents, cloud content, or settings.

Why it matters

Why clean OneDrive Logs?

  • Repeated sync retry loops and file conflict checks can generate large volumes of diagnostic text, and users notice growing AppData disk usage even though their OneDrive folder size has not changed
  • Failed updater or installer runs leave setup logs behind after the issue is resolved, so old troubleshooting files pile up with no benefit while consuming SSD space
  • Authentication handoff errors and reconnect storms can spam timestamped trace entries, and the visible symptom is a rapidly expanding logs folder during sign-in or network problems
  • Long-running sync sessions on busy folders create many per-session client logs, making AppData backups and profile migrations slower because thousands of stale text files are copied
  • When OneDrive has been repaired, reinstalled, or updated multiple times, historical setup logs remain even though current binaries no longer use them, leaving behind clutter that users often mistake for active cache
  • Keeping only recent logs preserves current troubleshooting data while removing older records that no longer help diagnose present sync behavior, reducing noise when checking the folder manually
What gets cleaned

Cache paths Kudu targets

Windows

%LocalAppData%/Microsoft/OneDrive/logs
%LocalAppData%/Microsoft/OneDrive/setup/logs
Frequently asked

Common questions about OneDrive 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.