Apps
Chocolatey Logs
Chocolatey writes plain-text package operation logs under %ProgramData%\chocolatey\logs for installs, upgrades, uninstalls, background service activity, and PowerShell helper output. These rolling .log files accumulate command traces, package script output, download and checksum messages, and stack traces so you can troubleshoot failed package runs later. Kudu removes log files older than one week from this folder, freeing space without touching installed packages, backups, configuration, binaries, or package data.
Why clean Chocolatey Logs?
- Repeated install and upgrade attempts leave behind large historical .log files, and the visible symptom is Chocolatey using far more space in ProgramData than expected even though package binaries have not grown
- Verbose and debug runs append detailed PowerShell transcript output and stack traces, which can leave hundreds of megabytes of old diagnostics behind and show up as steadily shrinking free disk space
- Long-lived log folders make it harder to find the current failure you actually need, so users often open the logs directory and see dozens of similarly named files from past weeks obscuring today's package error
- Package script failures, retry loops, and scheduled automation can generate many near-duplicate logs, leading to noisy historical clutter where the observable problem is slower manual troubleshooting rather than a broken install
- Old Chocolatey logs may contain URLs, package arguments, machine names, and command output from previous maintenance runs, so cleaning aged logs reduces stale diagnostic residue while preserving packages and settings
- On small system drives, accumulated package-manager logs compete with temp files and update caches, and the symptom users notice is low-space warnings during later installs or upgrades even though Chocolatey itself still works
What gets cleaned
Cache paths Kudu targets
Windows
%ProgramData%/chocolatey/logs |
Frequently asked
Common questions about Chocolatey Logs
Related cleaners
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.