I have been recently doing some android development for Techfunder, one thing that I have found really useful when testing my app is using CatLog. CatLog allows you to check the app and system logs on the go. This is extremely useful when you have a crash while you are not close to your laptop.
This motivated me to look into writing a similar app for Ubuntu Touch. So here it is: LogViewer!
This app, like CatLog, is for developers and requires unconstrained running. You will need to install it manually:
- Download click package from launchpad
- transfer to your device and install:
- adb push com.ubuntu.developer.vtuson.logviewer_0.1_armhf.click /home/phablet/
-
adb shell
- su phablet
- cd ~
-
pkcon -p install-local com.ubuntu.developer.vtuson.logviewer_0.2_armhf.click
When you launch the app, you will get a list of .log files in /home/phablet/.cache/upstart/ , if you click on an specific log, it will be displayed in a similar manner to tail -f. You can pause the autoreading, clear the screen and copy to clipboard parts of the logs from the bottom menu.
You can also access other files, change font size of the logs and the size of the text buffered from the settings page.
You can see the code and contribute 🙂 in launchpad:
Are you going to submit this to the Ubuntu Software Store too? 🙂
Hi Daniel, this requires unconfined profile so I thought it wouldn’t be accepted.
We do this for some apps already. Jamie might be able to answer this one.