View Single Post
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#1078
Originally Posted by k6ps View Post
Sorry i'm quite new to mobile OS internals, but how can i see/enable more detailed error messages? Currently, nothing is added to any files under /var/log in any of these cases above.
I think logging to persistent logfiles under /var/log has been disabled due to the reason that flash does not like repeated small writes like to a logfile, it will use up the eraseblocks and eventually burn off your flash bit by bit.

There is a way to see logs, you need to use the "journalctl" command. (and you need to be root to see other than user logs)
"journalctl -f" lets you follow logging.

Personally I feel this procedure is not so good as having filesystem logs in some cases, for example if you have a spontaneous reboot of the device there will be no log of the events preceeding that
 

The Following 2 Users Say Thank You to juiceme For This Useful Post: