View Single Post
Posts: 76 | Thanked: 235 times | Joined on Mar 2013 @ Finland
#9
If you read the link I provided carefully, it says to create the logs directory. If you want a ready made recipe, here you go (but note that I won't be responsible if you do something wrong and turn your Jolla C in a nice paperweight):

Code:
,---
| SailfishOS 2.0.2.48 (Aurajoki) (armv7hl)
'---
[nemo@Sailfish ~]$ devel-su
Password: 
[root@Sailfish nemo]# cd /opt/alien/
[root@Sailfish alien]# ls -la
total 4
drwxr-xr-x 1 root   root  172 Aug 15 07:38 .
drwxr-xr-x 1 root   root   74 Jan  2  2016 ..
drwxr-xr-x 1 root   root    0 Aug 18  2015 bin
drwxrwx--- 1 system cache   0 Aug 18  2015 cache
drwxr-xr-x 1 root   root    0 Aug 18  2015 data
drwxr-xr-x 1 root   root    0 Aug 18  2015 dev
drwxr-xr-x 1 root   root    0 Aug 18  2015 etc
drwxr-xr-x 1 root   root    0 Aug 18  2015 home
drwxr-xr-x 1 root   root    0 Aug 18  2015 lib
drwxr-xr-x 1 root   root    0 Aug 18  2015 media
drwxr-xr-x 1 root   root   10 Aug 18  2015 opt
drwxr-xr-x 1 root   root    0 Aug 18  2015 proc
drwxr-xr-x 1 root   root    0 Aug 18  2015 run
drwxr-xr-x 1 root   root    0 Aug 18  2015 sbin
lrwxrwxrwx 1 root   root   26 Aug 18  2015 sdcard -> /home/nemo/android_storage
drwxr-xr-x 1 root   root    0 Aug 18  2015 sys
drwxrwxr-x 1 root   root  124 Mar  1 20:04 system
drwxr-xr-x 1 root   root    0 Aug 18  2015 system_jolla
drwxr-xr-x 1 root   root    0 Aug 18  2015 tmp
drwxr-xr-x 1 root   root    0 Aug 18  2015 usr
drwxr-xr-x 1 root   root    0 Aug 18  2015 var
drwxr-xr-x 1 root   root    0 Aug 18  2015 vendor
[root@Sailfish alien]# mkdir logs
[root@Sailfish alien]# ls -la
total 4
drwxr-xr-x 1 root   root  180 Aug 15 07:47 .
drwxr-xr-x 1 root   root   74 Jan  2  2016 ..
drwxr-xr-x 1 root   root    0 Aug 18  2015 bin
drwxrwx--- 1 system cache   0 Aug 18  2015 cache
drwxr-xr-x 1 root   root    0 Aug 18  2015 data
drwxr-xr-x 1 root   root    0 Aug 18  2015 dev
drwxr-xr-x 1 root   root    0 Aug 18  2015 etc
drwxr-xr-x 1 root   root    0 Aug 18  2015 home
drwxr-xr-x 1 root   root    0 Aug 18  2015 lib
drwxr-xr-x 1 root   root    0 Aug 15 07:47 logs
drwxr-xr-x 1 root   root    0 Aug 18  2015 media
drwxr-xr-x 1 root   root   10 Aug 18  2015 opt
drwxr-xr-x 1 root   root    0 Aug 18  2015 proc
drwxr-xr-x 1 root   root    0 Aug 18  2015 run
drwxr-xr-x 1 root   root    0 Aug 18  2015 sbin
lrwxrwxrwx 1 root   root   26 Aug 18  2015 sdcard -> /home/nemo/android_storage
drwxr-xr-x 1 root   root    0 Aug 18  2015 sys
drwxrwxr-x 1 root   root  124 Mar  1 20:04 system
drwxr-xr-x 1 root   root    0 Aug 18  2015 system_jolla
drwxr-xr-x 1 root   root    0 Aug 18  2015 tmp
drwxr-xr-x 1 root   root    0 Aug 18  2015 usr
drwxr-xr-x 1 root   root    0 Aug 18  2015 var
drwxr-xr-x 1 root   root    0 Aug 18  2015 vendor
root@Sailfish alien]# cd logs 

>>> here start your android app of choice

[root@Sailfish logs]# ls
log_160815074835.txt
[root@Sailfish logs]# tail -f log_160815074835.txt 
08-15 07:48:39.657  4015  4015 I SensorService: gyroscope
08-15 07:48:39.657  4015  4015 I SensorService: proximity
08-15 07:48:39.660  4015  4015 D AlienWifiListenerService: AlienWifiListenerService instantiate
08-15 07:48:39.660  4015  4015 D AlienCallStateListenerService: AlienCallStateListenerService instantiate
08-15 07:48:39.661  4015  4015 I sysproc : System server: starting Android runtime.
08-15 07:48:39.661  4015  4015 I SystemServer: Entered the Android system server!
08-15 07:48:39.661  4015  4015 I sysproc : System server: starting Android services.
08-15 07:48:39.661  4015  4015 I sysproc : System server: entering thread pool.
08-15 07:48:39.662  4015  4045 I SystemServer: Entropy Mixer
08-15 07:48:39.664  4015  4043 D SensorService: nuSensorService thread starting...
08-15 07:48:40.205  4015  4045 D ProcessState: getContextObject - ALIEN_ID=[LV-426]
08-15 07:48:40.207  4015  4045 I SystemServer: Power Manager
08-15 07:48:40.209  4015  4045 I SystemServer: Activity Manager
08-15 07:48:40.219  4015  4049 I ActivityManager: Memory class: 128
08-15 07:48:40.257  4015  4049 W UsageStats: Usage stats version changed; dropping
08-15 07:48:40.422  4015  4045 I SystemServer: Telephony Registry
08-15 07:48:40.424  4015  4045 I SystemServer: Scheduling Policy
08-15 07:48:40.425  4015  4045 I SystemServer: Package Manager
08-15 07:48:40.584  3877  3877 W AlienTimezoneMonitor: Waiting for alarm service
08-15 07:48:40.608  4015  4045 W PackageManager: Library not found: /system/framework/javax.btobex.jar
...
A couple of comments at this point. First, the output above is from a Jolla phone: it is unlikely that a Jolla C would behave differently, but I cannot verify. Second, using the above recipe you will enable alien logging permanently; to disable logging, please remove the logs folder that was created.

Good luck!
 

The Following User Says Thank You to paolo_3_1415926 For This Useful Post: