pgaskin / NickelMenu

The easiest way to launch scripts, change settings, and run actions on Kobo e-readers.
https://pgaskin.net/NickelMenu
MIT License
591 stars 32 forks source link

Add an example spawn_cmd that dumps the syslog to onboard #6

Closed NiLuJe closed 4 years ago

NiLuJe commented 4 years ago

Probably easier than to ask users to run it in a shell, or rely on devmode's logging.

NiLuJe commented 4 years ago

Bonus point: also makes it obvious this goes through a shell, making shell I/O redirections a go ;).

NiLuJe commented 4 years ago

(Unfortunately doesn't really help in case of segfaults for Joe Random, since the syslog never really hits the disk).

pgaskin commented 4 years ago

On the other hand, the logs for segfaults aren't very helpful, as they only tell us which action it is, which we already know to begin with (and from there, there's really only up to 4 possible points for segfaults).