User Services/Sync/Debug Sync: Difference between revisions
< User Services | Sync
Jump to navigation
Jump to search
| Line 14: | Line 14: | ||
===How to force reauthentication=== | ===How to force reauthentication=== | ||
When you reset password this will cause all other devices to reauthenticate. To force that, edit this file: | When you reset password this will cause all other devices to reauthenticate. To force that, edit this file: | ||
<profile location | <profile location [1] >/signedInUser.json | ||
and delete some characters from the sessionToken value: | and delete some characters from the sessionToken value: | ||
"sessionToken":"abcdef" | "sessionToken":"abcdef" | ||
Mac: | [1] On Mac: | ||
~/Library/Application Support/Firefox/Profilesm/ | ~/Library/Application Support/Firefox/Profilesm/<some chars>.my_test_profile/signedInUser.json | ||
==Android== | ==Android== | ||
Revision as of 00:50, 5 March 2014
Often it's helpful to provide diagnostic log data in bugs to help a developer fix an issue. Here are some tips:
Desktop
- goto about:config
- In the filter field type 'sync.log'
- Context click on pref and set it as:
- services.sync.log.appender.file.logOnSuccess to True
- services.sync.log.logger.engine.bookmarks to Trace
- In Firefox, go here: about:sync-log
You can also open the console to view errors: Tools > Web Developer > Web Console
How to force reauthentication
When you reset password this will cause all other devices to reauthenticate. To force that, edit this file:
<profile location [1] >/signedInUser.json
and delete some characters from the sessionToken value:
"sessionToken":"abcdef"
[1] On Mac:
~/Library/Application Support/Firefox/Profilesm/<some chars>.my_test_profile/signedInUser.json
Android
- For advanced users:
- Install Android Debugging Tools: http://developer.android.com/sdk/index.html
- put adb in your path so you can call it from anywhere.
- Run this:
adb setprop log.tag.FxSync VERBOSE adb setprop log.tag.FxAccounts VERBOSE adb setprop log.tag.FxAccountSyncAdapter VERBOSE
- Tether your device and make sure your computer can see it by running:
adb devices
- Run this
adb logcat | grep -i 'account'