Logs and crash reports are small one by one and rarely add up to much. Sometimes they do: an app stuck in a crash loop, a driver that logs an error every second or a developer tool can write several GB into ~/Library/Logs. This guide shows where they live, how to see what is big, what is safe to delete, and which logs you should not touch.
Contents
- Where logs and crash reports live
- See what is big
- Delete them by hand, safely
- What not to delete
- How CleanMate does it
- FAQ
Where logs and crash reports live
| Folder | What is in it |
|---|---|
~/Library/Logs |
text logs written by your apps and tools (one folder or file per app) |
~/Library/Logs/DiagnosticReports |
crash, hang and “stackshot” reports of apps you run (.ips, older .crash) |
/Library/Logs |
logs written for all users by system-wide software; /Library/Logs/DiagnosticReports holds crash reports of system processes |
/private/var/log |
system logs (system.log, install logs); macOS rotates and compresses them itself |
Most of macOS’s own logging does not go to files at all: the unified log lives in /private/var/db/diagnostics and is managed by the system. You read it in Console.app or with log show; you do not clean it by hand.
See what is big
du -sh ~/Library/Logs ~/Library/Logs/DiagnosticReports /Library/Logs 2>/dev/null
du -sh ~/Library/Logs/* 2>/dev/null | sort -h | tail -10 # the biggest, by app
ls -lS ~/Library/Logs/DiagnosticReports | head # biggest crash reports first
In Finder use Go › Go to Folder… (⇧⌘G) and type ~/Library/Logs. Console.app lists the same reports under Crash Reports and Log Reports in the sidebar; right-click a report › Move to Trash deletes it there too.
If one folder is the problem, look inside before deleting: a single file of several GB is usually an app writing an error in a loop, and deleting it only helps until the loop writes the next one. Fix or update the app as well.
Delete them by hand, safely
Quit the app that wrote the log first. A log that is open keeps growing, and deleting it while the app runs frees nothing until the app quits.
# old crash reports: a week or more
find ~/Library/Logs/DiagnosticReports -type f -mtime +7 -print
find ~/Library/Logs/DiagnosticReports -type f -mtime +7 -delete
# old logs of one app (look at the -print list first)
find ~/Library/Logs/SomeApp -type f -mtime +7 -delete
Run the -print line first and read it. Deleting a log does not change what an app does: it creates a new one on its next run. Crash reports are only useful to send to the developer or to find out what crashed; once you have done that, they are not needed.
Files in /Library/Logs and /private/var/log need sudo. They are usually small and macOS rotates them itself, so look with du but leave them unless one file is huge.
What not to delete
- The folder itself. Delete the files inside
~/Library/Logs, not the folder: some apps expect it to exist. - Logs of something you are debugging. A report you may want to send, or the log of a failed install, is the only copy.
/private/var/db/diagnosticsand/private/var/db/uuidtext. The unified log store; the system manages it and it is protected.- Anything in
~/Library/Application Supportthat looks like a log. Some apps keep their data next to their logs. Only touchLogsfolders. - Developer tools’ logs you still need. Xcode and simulator logs are in
~/Library/Logs/CoreSimulatorand~/Library/Developer/Xcode; see Xcode disk space.
For the larger picture of ~/Library — caches, containers, what is data — see which ~/Library folders are safe to delete. Logs are rarely the biggest part; if your disk is full, start with how to free up disk space on a Mac.
How CleanMate does it
CleanMate 1.12 (see all macOS features) works inside your user account, with no admin password.
- Smart Scan › System Junk › Old logs lists the files in
~/Library/Logsnot modified for a number of days (7 by default; change it in Settings › General). It skips theDiagnosticReports,CleanMateandJetBrainsfolders (JetBrains has its own item for old IDE versions). Deleted, not moved to the Trash. - Crash reports lists
~/Library/Logs/DiagnosticReportson its own. Deleted, not moved to the Trash; apps write new ones if they crash again. - CleanMate does not touch
/Library/Logs,/private/var/logor the unified log, which need admin rights and belong to the system. - CleanMate’s own activity log is never cleaned.
You see the list and the size before anything is deleted. From Terminal, cleanmate scan shows what Smart Scan would clean and changes nothing: see the cleanmate command and AI agents. Download CleanMate. On Ubuntu logs live in the journal and /var/log: see the systemd journal, /var/log and the apt cache.
FAQ
Is it safe to delete ~/Library/Logs? The files inside, yes, with the app closed. They are records of past events, and apps write new ones. Keep the folder.
Can I delete DiagnosticReports? Yes. Crash reports are only needed to find out why an app crashed or to send to its developer. macOS writes a new one the next time something crashes.
Why is Console.app empty or slow? Console reads the unified log, which is separate from the files in ~/Library/Logs. Deleting files there does not clear it.
Why does a log file keep coming back huge? The app is writing an error again and again. Update it, reinstall it or remove it; deleting the file is only a pause.
Will deleting logs speed up my Mac? No. It only frees space.

