I’m fixing an acquaintance’s laptop that ran out of disk area. Area was so essential that the OS didn’t launch any apps. I booted in Secure Mode (holding Shift throughout startup), deleted 1.5 GB of purposes, and was capable of launch the OS in regular mode and examine the file system.
A search with
du -sh * by hand revealed log information in
~/Library/Containers/com.apple.mail/Information/Library/Logs/Mail, within the format
imagp.gmail.com-<UID>.txt that had been 29 GB and 6 GB. I perceive from this thread that these information are merely a log of all connections to the Gmail server:
Gmail is having bother with the mac Mail shopper for fairly a while. … The Mail logs maintain a file of the connection course of, they’re helpful to to diagnose issues, … It is secure to delete these logs.
I inspected the information and so they do look like information of a connection.
To forestall these issues sooner or later, does the OS have a option to restrict the dimensions of these logs, e.g. conserving solely the final 30 days of connection, or doing a first-in-first-out of traces as much as a sure file measurement?