Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a simple question: how do I turn on logging of the shutdown sequence and X-server, which both keep failing; shutdown that doesn't shut it down, XServer that crashes.

I would like to create the equivalent of a windows memory dump, the windows event viewer's System-bucket and a crash-dump on SIGTERM for XServer.

Regards

share|improve this question
    
Try looking into /var/log/. –  ulidtko Jan 28 '11 at 22:50
2  
but what am I looking for in these logs? how can I tell what's an error, what's info and what's debug information? care to make your comment a reply and explain a bit about /var/log? –  Henrik Jan 29 '11 at 19:47

1 Answer 1

This may help with creating a program dump or catching a crash:

https://wiki.ubuntu.com/DebuggingProgramCrash

share|improve this answer
    
indeed it might, but would you mind expanding on how you think it would? like an overview of how it is done? –  Henrik Feb 23 '11 at 22:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.