17

I've done some Googling and nowhere do I find where you can log the shutdown process. The best I've found is a log where it states when the shutdown process begins but that's all.

My computer is hanging on the end of the shutdown process and I'm trying to troubleshoot it.

Have any ideas?

  • 2
    Have you checked the Console app? – zwerdlds Apr 10 '12 at 17:50
  • @zwerdlds Yes, That's where I found this d.pr/RETv – jwmann Apr 10 '12 at 18:46
  • It would be easier to open the activity monitor, search for one with name shudown and kill that process... – user34076 Nov 4 '12 at 11:55
8

Check the console for the time of shutdown enter image description here

In the terminal, go to

     /var/log

enter image description here

Find launchd-shutdown.log that was last modified by your system at the time of shutdown and perform a more on it

     more launchd-shutdown.log
  • 1
    I found using vim was easier than more but thanks! this was exactly what I needed. – jwmann Apr 12 '12 at 1:44
  • I agree that vim is better for searching through the logs, but for beginners 'more' can be a bit more friendly. (Pun not intended. Don't laugh.) – DogEatDog Oct 17 '12 at 3:53
  • 2
    For OS X 10.10 Yosemite it's under /var/log/com.apple.launchd/launchd-shutdown.system.log. – DASKAjA Nov 7 '14 at 16:26
  • @DAKSAjA - have an upvote... but I cannot find the shutdown log there either, any other possibilities? Could something disable or erase these logs? – rebusB Jun 29 '16 at 18:00
  • 3
    I cannot find the logs in /var/log or /var/log/com.apple.launchd on macOS 10.12 Sierra. Have these logs been moved? – Chris Vasselli Apr 7 '17 at 13:30
7

Instead of looking at logs, I would start by booting in verbose mode. (It will also shut down in verbose mode.) Just hold Command ⌘ + V at boot.

  • 1
    I was considering do this (except in single user mode since it does verbose too) but I was wondering if I could save the output somewhere so I can research the output. – jwmann Apr 10 '12 at 19:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .