What is logd on Mac? Unified logging explained

Safe to quit? NoMade by Applelogd

logd collects and stores the log messages every app and macOS write. Why it uses CPU or disk, how to find a noisy app, and what not to delete.

Updated 16 November 2026 · 3 min read

logd is the macOS process that collects and stores log messages, the running diary that macOS and your apps write about what they are doing. It is made by Apple, it is not a virus, and it runs all the time as part of the unified logging system.

If logd is busy, some app is usually writing far more messages than it should. Finding that app is the fix.

What logd does

Apple's manual page describes logd as the part of the unified logging system responsible for handling and managing historical data and related metadata, such as entries written with os_log. Processes that log share pages of memory with logd and add their entries to them. logd reads those pages, combines and compresses the data, and depending on policy keeps it in a ring buffer in memory or writes it to persistent storage.

You read the results with the Console app or the log command. Apple's developer documentation on logging explains how apps use the system.

The log store lives in protected system folders. On the Mac we checked, /var/db/diagnostics took 1.6 GB and /var/db/uuidtext, which helps decode messages, took 536 MB. Sizes vary from Mac to Mac.

Is logd a virus?

No. The real one runs as root from:

/usr/libexec/logd

Check the running copy in Terminal. This only reads:

ps -Ao user,pid,comm | grep /usr/libexec/logd

Then check its signature:

codesign -dvv /usr/libexec/logd 2>&1 | grep -E "Identifier|Authority"

A genuine copy shows:

Identifier=com.apple.logd
Authority=Software Signing
Authority=Apple Code Signing Certification Authority
Authority=Apple Root CA

launchd keeps logd running at all times, and /usr is protected by System Integrity Protection. A logd in any other location is not Apple's; see checking a Mac for malware.

Why logd uses high CPU or disk

  • An app logging in a loop, often because it keeps hitting the same error.
  • Debug logging left on, for example by a developer tool or a configuration profile that raises logging levels.
  • A crash loop, where a process starts, fails and logs the failure over and over.
  • Console streaming, when you watch live logs with debug and info messages included.

What is normal

logd uses a little CPU all the time, since every process logs something. On the Mac we checked, it used between about 1% and 3% of one core during normal use. Sustained high CPU or heavy disk writes from logd mean something is flooding it.

How to find a noisy app and calm logd down

  1. Restart. Apple menu > Restart ends any process stuck in a logging loop.
  2. See who is logging most. In Terminal, this counts messages by process over the last minute. It only reads, and can take a minute or two to finish:
/usr/bin/log show --last 1m --style compact | awk 'NR>1 {sub(/\[.*/, "", $4); print $4}' | sort | uniq -c | sort -rn | head

Note the full path, /usr/bin/log. In zsh, plain log is a built-in maths command and gives an error.

  1. Deal with the top name. If it is an app you installed, update it, quit it or check its settings for a debug or verbose logging option. If it is a system process, look at what that process does: for example mds_stores for Spotlight or cloudd for iCloud.
  2. Remove debug logging profiles you no longer need. In System Settings > General > Device Management, check for logging profiles installed for troubleshooting and remove ones you are finished with.
  3. Install updates. System Settings > General > Software Update.

What not to do

  • Do not delete /var/db/diagnostics or /var/db/uuidtext to save space. macOS manages them, and removing them breaks the logs you may need for troubleshooting.
  • Do not run commands found online that erase the log store with sudo. They do not stop the app that is flooding it.
  • Do not disable SIP or try to stop logd. Too much of macOS depends on logging.

How to see logd in Activity Monitor

  1. Open Activity Monitor from Applications > Utilities.
  2. Choose View > All Processes.
  3. Type logd in the search field. You may also see logd_helper.
  4. Check % CPU on the CPU tab and Bytes Written on the Disk tab.
  5. Double-click it for details, including its parent process, launchd.

How Headroom helps

Headroom's free Clean scan finds logs that are safe to remove, along with caches, temporary files and old build folders, and explains each one before you decide. It leaves macOS's protected log store alone, as it should. You tick what goes, and the $19 one-time licence turns on the Clean button. The guide to clearing cache on Mac covers the same ground by hand.

Download Headroom, read about the Mac cleaner, or see the price.

Questions

What is logd on a Mac?

logd is the unified logging system daemon. Apple's manual page says it handles and manages log data written by apps and macOS, combining and compressing it into memory buffers or onto disk.

Why is logd using high CPU?

Something is writing a very large number of log messages, often an app with a bug or an app left in a verbose debug mode. logd has to take in and compress every one.

Can I delete macOS log files to save space?

Do not delete the system log store by hand. macOS manages its size itself, and it sits in protected system folders. Old app logs in your own Library folder are a different matter and are generally safe to clear.

Why does 'log show' fail in Terminal?

In zsh, the default Mac shell, log is also a built-in maths command. Type /usr/bin/log show instead to run Apple's log tool.