Where is the shutdown log?

386

Solution 1

Your cellphone video camera. Seriously. It's not physically possible for linux to record a log after the "Unmounting local filesystems" message. And for some reason, Ubuntu Oneiric never records any of the shutdown messages, even errors warnings and "[fail]s", at least not anywhere I can find them using sudo grep.

If you have the plymouth splash screen on shutdown that hides the console messages with the Ubuntu logo and progress dots, then hit ESC to see what's going on behind the curtains... and record it with your video camera for playback later.

Solution 2

Try looking in /var/log/kern.log or /var/log/*.log

Or,

sudo find /var/log -type f -print0 | xargs -0 sudo zgrep "the message you are interested in"
Share:
386

Related videos on Youtube

Eric
Author by

Eric

Updated on September 18, 2022

Comments

  • Eric
    Eric almost 2 years

    I'm trying to use the OpenGL ES Analyzer for my iPad application and I can't get it to show me any symbols from my code in the extended detail pane's stack trace. I see the names of UIKit and UIApplication and other Apple supplied frameworks in the stack trace, but the portion of the stack trace that represents calls into my code just shows up as instruction pointer values, and there are no symbols whatever.

    When I run the same app in Xcode 4 I can debug into my code without problem, all symbols are there, etc. So I believe the application is compiled correctly in this regard.

    Do others out there have this problem? The information this analyzer is collecting would be extremely useful if I could see where it my code these calls are being made...

    Any pointers / workaround very much appreciated.

    -Eric

  • Frank Nocke
    Frank Nocke over 7 years
    As of Ubuntu 16.04 this sadly seems no longer correct. None of the recently written-to suspects (`root@x230:/var/log> ll -tr | tail') has any of the messages I tried to grep (and manually checked for, too!).