Apps

Chocolatey Logs

Chocolatey writes rolling package-management logs under %ProgramData%\chocolatey\logs whenever you install, upgrade, uninstall, or troubleshoot packages. These text logs capture PowerShell execution output, NuGet package resolution details, checksums, download retries, and installer exit codes, and they can accumulate quickly after frequent automation or repeated failed runs. Kudu removes only Chocolatey log files older than one week, preserving installed packages, nupkg caches, backups, configuration, and executables.

Why clean Chocolatey Logs?

  • Repeated installs and upgrades append detailed PowerShell and package-resolution output to log files, so the logs folder grows steadily and you notice ProgramData consuming unexpected disk space
  • Failed package attempts often produce long retry and stack-trace logs, leaving behind large text files even after the actual install problem has been fixed
  • Verbose logging from scheduled maintenance or CI jobs can create hundreds of dated log files, making it harder to find the one recent run you actually need for troubleshooting
  • Old logs may contain obsolete installer errors and checksum warnings from past package versions, which can mislead troubleshooting when you compare them with current behavior
  • Chocolatey logs can record package names, source URLs, command lines, and execution timestamps, so clearing aged logs reduces leftover operational history without touching packages or settings
  • Systems that have been using Chocolatey for months or years often keep every historical run under ProgramData, and the visible symptom is a surprisingly large logs directory despite no issue with installed software
What gets cleaned

Cache paths Kudu targets

Windows

%ProgramData%/chocolatey/logs
Frequently asked

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