mirror of
https://github.com/YunoHost-Apps/ffsync_ynh.git
synced 2024-09-03 18:26:38 +02:00
Add debug info for Android
This commit is contained in:
parent
7e884bdd1a
commit
3b3f0dff67
1 changed files with 20 additions and 0 deletions
20
README.md
20
README.md
|
@ -47,3 +47,23 @@ sudo yunohost app install https://github.com/YunoHost-Apps/ffsync_ynh/tree/testi
|
|||
or
|
||||
sudo yunohost app upgrade ffsync -u https://github.com/YunoHost-Apps/ffsync_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
### Solving problems with Android
|
||||
|
||||
The sure-fire way to know what Sync on Android is really doing is to observe the Android device log using adb logcat. You’ll want to bump your log-level:
|
||||
```
|
||||
adb shell setprop log.tag.FxAccounts VERBOSE
|
||||
```
|
||||
|
||||
Then, you can observe the log using:
|
||||
```
|
||||
adb logcat | grep FxAccounts
|
||||
```
|
||||
|
||||
It’s best to observe the log while you force a sync from the Android Settings App. You should see output like:
|
||||
|
||||
```
|
||||
D FxAccounts(...) fennec :: BaseResource :: HTTP GET https://token.stage.mozaws.net/1.0/sync/1.5
|
||||
...
|
||||
D FxAccounts(...) fennec :: BaseResource :: HTTP GET https://sync-4-us-east-1.stage.mozaws.net/
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue