LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-22-2006, 07:38 PM   #1
ScottReed
Member
 
Registered: Dec 2005
Location: Montana
Distribution: Debian "squeeze"
Posts: 157

Rep: Reputation: 30
creating crash logs


I find it very odd that when an application crashes no logs are written to the home folder of the logged in user or /var/log

Lately my xmms was crashing sporadically. I kept launching it via a launcher on the desktop, hence everytime it crashed I was left with nothing to go by. I eventually just started it via terminal and when it crashed I got my output. Problem solved now.

But, is there a way to get the kernel to log crash dumps when applications bomb?

Just curious. Thanks.

Scott
 
Old 05-22-2006, 08:01 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
I'm assuming you're talking about user applications only...

You could change the command used to start the application from the menu to include piping the output to a file. For example, if an application doesn't support using syslog, the following will send its output to firefox.log in your home directory:
Code:
/usr/bin/firefox &>~/firefox.log
You may still get nothing, it depends on the circumstances of the application crash.
 
Old 05-22-2006, 08:15 PM   #3
ScottReed
Member
 
Registered: Dec 2005
Location: Montana
Distribution: Debian "squeeze"
Posts: 157

Original Poster
Rep: Reputation: 30
I didn't think of doing it that way. I could basically change my launchers to pipe out to a log folder and a specific file, OR, pipe to tty2-3-etc...

Thanks for the idea
Scott
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox logs user out? Where are error logs? case1984 Linux - General 0 10-09-2004 03:22 PM
Separate firewall logs and general logs dominant Linux - General 3 04-20-2004 02:26 AM
xmms crash xine crash mplayer crash paledread Linux - Software 9 03-09-2004 08:09 AM
iptables -creating logs chrisfirestar Linux - Security 5 02-13-2004 08:17 AM
Creating on the command logs for users aliwerd Linux - General 3 06-25-2003 08:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration