Originally posted by mrw
View Post
Announcement
Collapse
No announcement yet.
How to disable sending crash logs?
Collapse
X
-
Originally posted by slothrop View Post
Thanks! That, plus a code change in CrashLogApplet.lua, did the trick:
Code:function _crashLogDontSend(self, file) log:info("crash log not sending: ", file) _doneLog(self, file, false) -- had to change last param from true to false end
Leave a comment:
-
Originally posted by mrw View PostI don't think so.
I forget how I originally configured this, there must have been a pop up at some point in the dim, distant past.
Perhaps a manual tweak to the settings might work:
Code:# cat /etc/squeezeplay/userpath/settings/CrashLog.lua settings = {sendLog=false,}#
Code:function _crashLogDontSend(self, file) log:info("crash log not sending: ", file) _doneLog(self, file, false) -- had to change last param from true to false end
Leave a comment:
-
Originally posted by slothrop View PostIt looks like sending the crash log causes it to be deleted from the device.
I would prefer not to send the log, but to retain it on the device so I can review it. Is there a setting for this that I can configure from the UI?
I forget how I originally configured this, there must have been a pop up at some point in the dim, distant past.
Perhaps a manual tweak to the settings might work:
Code:# cat /etc/squeezeplay/userpath/settings/CrashLog.lua settings = {sendLog=false,}#
- Likes 1
Leave a comment:
-
How to disable sending crash logs?
After a crash, I see a line like this in the SB Radio's logs:
Code:Jan 23 06:58:44 squeezeplay: INFO applet.CrashLog - CrashLogApplet.lua:43 sending crash log: /root/crashlog.bFso6a sendLog=true
I would prefer not to send the log, but to retain it on the device so I can review it. Is there a setting for this that I can configure from the UI?
I can see that in CrashLogApplet.lua, the sending vs retention of the logs is conditioned on a system setting:
Code:function _processLogs(self) local settings = self:getSettings() for file,queued in pairs(logs) do if settings.sendLog == true then if queued then _crashLogSend(self, file) end else _crashLogDontSend(self, file) end end end
I'm using Squeezebox Radio firmware version 8.0.1-r16907.Tags: None
Leave a comment: