Posts: 8
Joined: Feb 2011
Reputation:
0
Hi,
Everytime XBMC crashes (which happens a lot more frequently then what I would like) he creates a crashlog at the location /home/user/crash<date>.log, is it possible to disable crashlogs or to at least change the location where they are created?
I'm sorry if this has been answered I couldn't find it. Thanks in advance.
Posts: 534
Joined: Aug 2008
Reputation:
6
+1 This has been driving me crazy
Posts: 3,901
Joined: Sep 2013
Reputation:
358
Add "0 0 * * * rm ~/xbmc_crash*.log" to crontab. Assuming your system runs 24/7 this would remove any crash logs at midnight every night.
Posts: 3,735
Joined: Dec 2010
Reputation:
53
negge
yo guysv7may bd latr tomorroe
Posts: 3,735
If XBMC crashes repeatedly you should create tickets on trac.xbmc.org with the logs attached so people can actually investigate the issues.
Posts: 7,135
Joined: Oct 2012
un1versal
Out of Memory (1939–2016)
Posts: 7,135
(2014-01-10, 22:16)negge Wrote: If XBMC crashes repeatedly you should create tickets on trac.xbmc.org with the logs attached so people can actually investigate the issues.
HAHAHA, you are joking right?
Not only does that involve being "possibly" ignored, it is actually easier to ignore that something you are doing setup wise is causing that, in either case its easier to ask how to get rid of it or wait until someone is annoyed enough to actually fix any issues that are not user fault resolved, if any.
On a unrelated note, crashlogs and logs shouldnt be created at temp or /home/user there should be a dedicated folder for all logs. But that involves know how, and I do not otherwise it would be done.
Posts: 7,135
Joined: Oct 2012
un1versal
Out of Memory (1939–2016)
Posts: 7,135
We haven't seen a crashlog never mind a crashlog with debug enabled, so therefore I propose we should clrealy the guy has many he wished to get rid of. So I suggest Op post one or two so we can gander into his porn habits.
@ negge
Im not debating that the crashlogs location is an issue, it was a simple factual UNRELATED observation hence called unrelated note: -- that if per chance there was any chance they should be aggregated in a relevant folder they shoudl, having them in whatver arbitrary location are confusing and serve no purpose but to confuse, chuck logs with logs and yey. we have a logging community of tree hugers, wait, wrong loggers..
Posts: 7,135
Joined: Oct 2012
un1versal
Out of Memory (1939–2016)
Posts: 7,135
Nice wsnipex does that aggregate all logs in same place? eh no, closer than before though. thx.
Posts: 7,649
Joined: Jun 2011
Reputation:
287
2014-01-11, 11:05
(This post was last modified: 2014-01-11, 11:05 by wsnipex.)
normal logs are already in one place, with that PR you can set the crashlog dir to the same if you want:
CRASHLOG_DIR=$HOME/.xbmc/temp ./xbmc
Posts: 7,135
Joined: Oct 2012
un1versal
Out of Memory (1939–2016)
Posts: 7,135
Wouldn't it be better f all logs lived in a
userdata (wiki) log folder? Temp folder is odd place to keep any logs. but ya, this is definetly a step in right direction.
Posts: 7,649
Joined: Jun 2011
Reputation:
287
although I agree that .temp is not the optimal place for the xbmc.log, changing this will cause support pain for us and all the scripts out there.
Posts: 7,135
Joined: Oct 2012
un1versal
Out of Memory (1939–2016)
Posts: 7,135
2014-01-11, 14:51
(This post was last modified: 2014-01-11, 14:51 by un1versal.)
Ya, I guess, its always a pain but maybe in Gotham+1
Would you consider this PR you have perhaps while also make it configurable yet make the default location to be .temp as well so both log types can be found there -- Then at a future date perhaps make it all go to a log folder.
Makes more sense and logic at least is consistent by default.
Thank you for actually looking at it, little things like this that make support easier, you have been +'sd