Mac Why Are Apps Crashing Logs

Oct 31, 2019  More specifically this article explains how you can (1) locate crash logs (2) and read them to diagnose a crash. Your Mac can crash, rarely. These crashes usually mean nothing important, if it is rare. Thus it is not something you should worry about. In most cases, restarting your Mac will resolve the issue. Your Mac will automatically reboot. Jul 12, 2018  Mostly those logs are useful for the developer involved in the software that put out any specific message, so there is not a lot I can figure out. HOWEVER, I found a lot of. Jul 12 10:47:46 macnamehere com.apple.xpc.launchd1 (com.apple.preference.displays.MirrorDisplays): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

What are log files and what do they do?

Log files are a journal of system parameters and entries describing everything that takes place on your Mac. Any operation that is being performed at any time is noted down in the form of logs, much like a “black box” on an airplane.

For the most part, logs contain crash reports and app errors. To us, regular users, this information bears no sense because it’s unreadable. But when you need to diagnose a problem, log files are an indispensable invention.

How to delete user log files?

Why would anyone want to delete user logs on Mac? First, deleting outdated logs may speed up some of your apps. Second, however small they are, logs still take space on your disk. And lastly, outdated logs could potentially cause software conflicts.

User logs are a part of your user profile. They are stored at: ~/Library/Logs

You should know that deleting user logs is not an everyday operation. It may backfire if you don’t know what you’re deleting. But since you asked, here is how it’s done.

We've got two ways to do it: the manual way and the CleanMyMac X way.

How to clear log files on a Mac manually

  1. Open Finder and select 'Go to Folder' in the Go menu.
  2. Type in ~/Library/Logs and hit Enter to proceed to this folder (pay attention to the use of “~” — this will ensure that you’re cleaning user log files, not the system log files).
  3. Optional step: You can highlight & copy everything to a different folder in case anything goes wrong.
  4. Select all files and press Command+backspace.
  5. Restart your Mac.
    Note: We recommend that you remove the insides of these folders, but not the folders themselves. Also note that some system applications, like Mail, have their own logs stored elsewhere.

Remember, if you want the additional space from cleaning these log files, be sure to empty your Trash. To do this, Control+click on the Trash icon in the dock and select “Empty Trash.”

In addition, some log files can be found in the /var/log folder, but not all the items contained therein are safe to remove. That’s why it is safer to remove log files using a Mac cleaning utility like CleanMyMac X.

How to clear log files with CleanMyMac X

Rather than searching all over your Mac for log files yourself, you can clean up logs with CleanMyMac X in just 4 steps. And that’s not all it does! Anyway, to clean them up with CleanMyMac X:

  1. Download CleanMyMac X (free version) and launch it.
  2. Choose System Junkin the left menu.
  3. Click Scan at the bottom of CleanMyMac X.
  4. Hit Clean.

Done! If you’d like to remove only log files and nothing else, click on Review Details before clicking Clean. Deselect everything except for System Log Files and User Log Files, and then click Clean.

Make sure that once you have finished clearing out these logs for additional hard drive space, you empty out your Trash. To do this, Control-click on the Trash icon in the dock and select “Empty Trash.” Restart your Mac afterward so your Mac can begin to create new log files.

Is it safe to delete log files?

Many experienced users prefer to clean their user logs as part of their Mac cleaning routine on Mac. Though it doesn’t directly translate into speed, there is some benefit in keeping your disk clean. Some apps have notoriously large log files, especially media apps. For example, writing this article I’ve found a single log file by Elmedia player that weighted 325 MB.

As a word of caution, you shouldn’t delete the entire Logs folder, only delete what’s contained inside. As we have said, log files serve for diagnostic purposes. If your Mac is doing well, there’s nothing particularly harmful in deleting logs.

Cleaning up log files with CleanMyMac X is as easy as can be. And, like we said before, it can do so much more, too! With CleanMyMac X, you can clean up outdated apps, language packs, universal binaries, and gigabytes of useless junk you didn’t even know you had. Download CleanMyMac X now and feel what it’s like to have a faster, cleaner Mac.

These might also interest you:

If your Mac goes to sleep unexpectedly

Make sure that Energy Saver is set up the way you want: choose Apple () menu > System Preferences, then click Energy Saver. Adjust one or more of the following controls to affect when your Mac goes to sleep. Some of these controls might not be available on your Mac.

Crashing
  • 'Turn display off after' slider
  • 'Display sleep' slider
  • 'Computer sleep' slider
    If a slider is set to 'Never,' sleep is disabled for that feature.
  • Schedule button
Mac Why Are Apps Crashing Logs

Make sure that you aren't putting your Mac to sleep accidentally:

  • Pressing the power button can put your Mac to sleep.
  • Moving your mouse pointer to a hot corner can put your Mac to sleep, depending on your Mission Control settings. Choose Apple menu > System Preferences, then click Mission Control. Click the Hot Corners button, then see if any of the corners are set to 'Put Display to Sleep.'
  • Using magnets near your Mac notebook can put your Mac to sleep.

If your Mac doesn't go to sleep when you expect

Check your Energy Saver settings as described above, and be aware that your Mac won't automatically go to sleep unless it's inactive:

Why
  • The same network activities that can wake your Mac can also keep your Mac from sleeping.
  • Any app or other process that's running on your Mac could also be keeping your Mac awake. Check the Energy Saver pane of Activity Monitor to identify apps that need your Mac to be awake. If 'Yes' appears in the Preventing Sleep column for an app, your Mac won't automatically sleep while the app is running. Other apps prevent sleep only when doing certain things, such playing music or video, printing, or downloading files.

If you started from macOS Recovery on a Mac notebook, automatic sleep is disabled as long as the Mac is using AC power.

If your Mac wakes unexpectedly

Your Mac might wake for these activities:

  • Network activity that uses the Wake on Demand feature. Examples of network activity include iTunes sharing, photo sharing, printer sharing, file sharing, and using Back to My Mac.*
  • Enhanced notifications from FaceTime, Messages, and other apps and services.
  • Bluetooth activity. To prevent Bluetooth devices from waking your Mac, choose Apple menu > System Preferences, then click Bluetooth. Click the Advanced Button, then deselect 'Allow Bluetooth devices to wake this computer.'

If you have a MacBook Pro (2016 or later) or MacBook (Retina, 12-inch, 2017), note that these models are designed to start up when you open their lids or connect them to power.

*As of July 1, 2019, Back to My Mac service is no longer available.

If your Mac doesn't wake when you expect

Your Mac might pause a few seconds before it wakes up. If it doesn't seem to wake at all, check for these possibilities:

  • Your screen brightness might be turned down.
  • If you're using an external display, your display might be turned off.
  • Your Mac might be in safe sleep. To wake from safe sleep, press the power button.
  • Check for a sleep indicator light, if applicable, and make sure that your Mac isn't turned off.

If the previous steps don't work

These additional steps may help identify or resolve the issue:

  • Reset the SMC.
  • Reset NVRAM.
  • Disconnect external devices other than your Apple keyboard, mouse, and display. If that resolves the issue, gradually reconnect your devices, testing each time, until you find the device that is interfering with sleep. Then check the documentation that came with the device, or contact the device manufacturer.
  • Start up in Safe Mode to see if the issue is related to non-Apple startup items, login items, or kernel extensions.
  • Try to isolate the issue by using another user account.

Mac Why Are Apps Crashing Logs Windows 7

If you still see the issue, contact Apple Support.

Mac Why Are Apps Crashing Logs 2017

FaceTime is not available in all countries or regions.

Comments are closed.