
There is an innocent-looking checkbox, tucked away in a corner of an app you barely look at, that can quietly devour hundreds of gigabytes of your hard drive while you sleep.
Enter the Mail app on macOS and its delightfully obscure setting: Log Connection Activity.
If you have ever been told by a tech-support person—or a well-meaning forum post—to tick that box to diagnose why your email was acting like a drunk monkey with a chainsaw, and then walked away and forgot all about it, congratulations. You have just hired a robotic stenographer to transcribe every single conversation your Mac has with your email servers, word for word, day and night, forever.
Every time Mail checks for new messages, sends a reply, syncs a folder, or throws a tantrum over a dodgy connection, it writes a detailed text log of the transaction. On its own, a single line of text is tiny. Multiply that by thousands of syncs, large mailboxes, and multiple accounts over months or years, and suddenly you are looking at a single .txt log file that has ballooned to 100GB, 170GB, or even nearly 500GB. Your Mac starts wheezing, your “System Storage” looks mysteriously colossal, and you are left wondering what digital hippopotamus moved into your drive.
Why It Is Not Much Use Having It On
For 99.9% of human beings, leaving Log Connection Activity switched on is about as useful as keeping a receipt for every cup of tea you drank in 2014.
It is a diagnostic tool. Unless you are actively trying to figure out why an IMAP or SMTP server is misbehaving—or an engineer or support agent has specifically asked you to capture a log while reproducing an error—those sprawling text dumps are doing nothing for you. They do not make your email faster, they do not back up your messages, and they certainly do not improve your life. They simply sit there, quietly hoarding storage space that could be holding actual useful things.
Now, just to be clear… this is not your real email we are talking about. Yes, that might take up lots of space as well and that is to be expected. These log files are just useless waste of space and can be removed safely.
How to Turn It Off and Reclaim Your Space
Fortunately, putting an end to this digital gluttony takes less time than making a cuppa:
- Open Mail and find Connection Doctor: Click on Mail in the top menu bar, select Window, and choose Connection Doctor. (It is not hiding in Settings, which is half the battle.)
- Untick the offending box: At the bottom of the Connection Doctor window, uncheck Log Connection Activity. That stops the tap from running.

- Locate the bloated logs: If the check box is empty then no harm, you are OK and you can return to normal programming. However if it is ticked then unticking the box stops new bloat, but it does not erase what is already there.
- Click Show Logs and…
- Bin the evidence: Select the massive .txt log files inside that folder, move them to the Trash, and empty the Trash. Watch your available storage bounce back like a cork. Be warned, if you have had this running then you will have ALOT more files than this. Just select them all using the Command+A key command (or the Edit menu and choose Select All) and drag them to the trash.

Turn it off, clear out the rubbish, and leave diagnostic logging for the moments you actually need a doctor—not as a permanent roommate eating your hard drive out of house and home.
Recent Comments