Mail is creating log files that won't stop growing

goodwilldrums

macrumors regular
Original poster
Jan 6, 2008
109
1
Oklahoma City
This is what's happening to me

The EWSBodyFetch.log file in Library>Containers>com.apple.mail>Data>Library>Logs>Mail grows at about 12 mb per minute and can get really big. I've seen it as large as 80 Gb, I notice my HD space keeps getting smaller and smaller and this file is the reason why.

Any one else having this problem and/or knows why this is happening?
 

chrfr

macrumors G3
Jul 11, 2009
9,246
3,203
Any one else having this problem and/or knows why this is happening?
The contents of the log file, not necessarily its size, are the valuable diagnostic information. There's obviously some message in the log file that is repeating rapidly. What is that message?
 

dianeoforegon

macrumors 6502a
Apr 26, 2011
907
137
Oregon
  • Like
Reactions: Max(IT)

Max(IT)

Suspended
Dec 8, 2009
8,551
1,661
Italy
In Finder can you hold down option and click "Go", then click Library, and go from there.
It's in User's Library.

Show User's Library

The User's Library folder is hidden by default. To unhide: Select the Finder in the Dock. Under Go in the Menu bar > hold down the Option key and you’ll see the Library.

Finding the User Library Folder
http://www.takecontrolbooks.com/resources/0167/site/chap11.html#FindingtheUserLibraryFolder
Thanks.
Just 5,9 Mb for me....
 

goodwilldrums

macrumors regular
Original poster
Jan 6, 2008
109
1
Oklahoma City
So, what does the log file say?
Nov 3 08:34:43 Mail[308] <Debug>: <MFEWSBackgroundBodyFetchTask: 0x7fe5bd88a280> Got incomplete messages for mailbox URL ews://9825BBE9-B918-425B-86D7-FEE0D07D6F80/CTS. Mandatory bodies to fetch: 0, discretionary bodies to fetch: 0
Nov 3 08:34:43 Mail[308] <Debug>: <MFEWSBackgroundBodyFetchTask: 0x7fe5bd88a280> Operation ending.
Nov 3 08:34:43 Mail[308] <Debug>: <MFEWSBackgroundBodyFetchTask: 0x7fe5c04325c0> Need to check for incomplete messages for mailbox URLS: {(
"ews://9825BBE9-B918-425B-86D7-FEE0D07D6F80/Sent%20Items"


That gets repeated over and over. Doesn't rule out a single email message. BUT, I did do a lot of email cleansing last night deleting some old and large emails, and I seem to have at the very least slowed down the problem. As that log file is now only 74KB and the entire log folder is 2 MB. I must have had some email or emails that were causing the log to explode.
 

leman

macrumors G4
Oct 14, 2008
10,461
4,964
Please submit bug report to Apple. No debug loglevel info should be output on a release product. They can fix this quite easily.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.