Turn Of Mail Logging Debugging - El Capitan

Hello


Just upgraded to El Capitan


I have a mail logging file EWSBodyFetch which is enormous in size c. 17gb and grows at an alarming rate and is writing debug information. When I checked it, for some reason it appears to be logging everything. Mail is working absolutely fine and I want to debugging turn off. At one point under Mavericks I had a problem with Mail hanging ( maxing out the thread count ) and obviously turned on debugging to help sort the issue. The problem resolved itself on upgrading. Can anyone tell me how this is achieved, I assume it is a


/usr/bin/defaults remove com.apple.mail XXXX

Posted on Oct 4, 2015 1:24 PM

Reply
25 replies

Oct 8, 2015 11:36 AM in response to Linc Davis

I have the same problem, with a massively growing EWSBodyFetch file. I have tried deleting and then recreating my Exchange account, as suggested, and also deleting the EWSBodyFetch file. However, a new version just reappears and continues to increase in size – 7gb today alone.


Log Connection Activity is unchecked.


Any clues how I can prevent this from happening?

Oct 20, 2015 7:21 AM in response to Linc Davis

I did this on 2 different machines, it does not work for me. Mail is constantly eating up harddisk space. Up to 50 GB per day. I left my computer running this night and it was frozen this morning due to no disk space left. Only solution so far is deleting all files in library/Containers/com.apple.mail/Data/Library/Logs/Mail a couple of times each day!


I really hoped mail would be more stable in El Capitan than in Yosemite where it froze several times a day.

Oct 20, 2015 7:31 AM in response to AminSharaf

Hello AminSharaf,

the same thing happened to me last saturday nigh,

I left the mac on connected my home network to

backup and in the sunday morning i found it with no space left,

and all the app frozen. I had to reboot it and for some reason i lost

the desktop background picture... It's crazy, also the search text in mail

don't return all the expected results (i tried to rebuild with no result)

same thing happen to spotlight... i really hope someone is taking care of those issues

Oct 21, 2015 12:39 PM in response to MushroomInTheDark

Applied the updated 10.11.1 released this evening and bug is still apparent. I have had confirmation that Apple are aware of it its going to be fixed when they diagnose it. They have taken loads of logs and information from my Macbook Pro - I was hoping it was going to be fixed in this release but I guess not :-( Gigabytes of logs files have appeared again

Oct 21, 2015 12:57 PM in response to MushroomInTheDark

No big surprise. I would predict, they will not fix this issue at all. Apple never fixed the issue with mail freezing when using Exchange in Yosemite. They do fix what annoys the masses and puts revenue on risk. Users using Exchange are a minority and using something evil outside of the Apple universe. Shame on us!. Support once told me, I can not use iCloud and Exchange together, I should switch to iCloud completely... ********, but that is their thinking.


<offtopic>

Sorry, but with each version of iOS and OS X I am getting more and more annoyed. There are so many bugs and flaws that never get fixed and each version they focus on shiny new features that nobody really needs, that Google and Microsoft meanwhile do a lot better and charge less for and that make the experience more and more confusing.


Quick example? Apple is hiding the print feature in THEIR OWN iOS apps behind 3 DIFFERENT icons in 3 different places! Congratulations, Ive!


Seriously annoyed.

</offtopic>

Oct 21, 2015 1:11 PM in response to MushroomInTheDark

.. well given that they are trying to encourage businesses to use their hardware and most businesses of any reasonable size that I know use Exchange Server it might seem sensible to fix the issue. To me it seems that Mail is ignoring an explicit instruction turning off debug ie.


defaults write com.apple.mail LogDebuggingInformation -bool false

defaults write com.apple.mail LogNotificationActivity -bool false

Oct 21, 2015 1:19 PM in response to MushroomInTheDark

good point.


On the other hand they did know about these issues from the public beta program... and releasing an OS X version that will make your Mac freeze due to a lack of disk space just because you pack GB of log files in memory(!) is ... well at least not very considerate.


Does the setting "move junk mail to junk folder" (not sure if it is worded that way, as my system is german) work for you?


For me it does not. It just marks mails as junk but leaves it in the inbox.


Maybe they have a general issue with the mail settings ...

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Turn Of Mail Logging Debugging - El Capitan

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.