What is ~/Library/Logs on a Mac, and is it safe to delete?

~/Library/Logs and /Library/Logs hold log files and crash reports that apps and macOS write about what they did, and old ones are safe to delete.

Shiva ChandraMaker of Clean House · · 2 min read
Short answer

Logs are text records of what an app did, plus crash reports from when something failed. They exist to help you or a developer find problems, so they are not needed for normal use. Old logs are safe to delete once the app is quit, and apps write new ones when they need them. They are usually small.

Path
~/Library/Logs and /Library/Logs
What it is
Log files and crash reports written by apps and macOS
Typical size
Usually small, from kilobytes to a few hundred megabytes; a misbehaving app can write much more
Made by
Apps, developer tools and macOS
Safe to delete?
Safe to clear Old logs are fine to clear once the app is quit.
Comes back?
Yes. New logs are written as apps run.

What is in Library Logs?

The user folder, ~/Library/Logs, holds logs for apps you run, with subfolders named after the app or tool. DiagnosticReports holds crash reports. The system folder, /Library/Logs, holds logs written for the whole Mac. Developer tools and installers are common writers.

Is it safe to delete Library Logs?

Yes for old logs, in the sense that nothing you made is stored there. They are useful only for troubleshooting. If you are in the middle of working with support on a problem, keep the relevant log until the problem is solved.

Do not delete the folders themselves, just the files inside. Logs in the system folder /Library/Logs may need an administrator password to remove, and most of them are small enough to leave alone.

How do I clear it by hand?

  1. Quit the app that wrote the logs.
  2. In Finder, choose Go, then Go to Folder, and enter ~/Library/Logs.
  3. Select the old files or the contents of a large app folder and move them to the Trash.
  4. Empty the Trash.
If one app's log keeps growing quickly, that is a sign something is wrong with the app. Fix the cause, or the folder will fill again.

How Clean House handles it

Clean House shows log files with a Why card that says which app wrote them. It treats Logs as safe to remove and says that new ones are written when needed. Everything it moves goes to the Trash, and Recently Cleared can put it back.

Questions

Is it safe to delete log files on a Mac?

Yes, old ones. Logs are records for troubleshooting, and apps write new ones when needed.

What is DiagnosticReports?

It is a folder of crash reports macOS writes when an app crashes. You can delete old ones.

Why is my Logs folder big?

An app or tool is probably writing a lot of messages. Delete the old logs and check that app.

Sources

  1. Apple Support: Free up storage space on Mac