User Services/Sync/Debug Sync: Difference between revisions
< User Services | Sync
Jump to navigation
Jump to search
| Line 17: | Line 17: | ||
** put adb in your path so you can call it from anywhere. | ** put adb in your path so you can call it from anywhere. | ||
** Run this: | ** Run this: | ||
<nowiki> | <nowiki>adb setprop log.tag.FxSync VERBOSE | ||
adb setprop log.tag.FxSync VERBOSE | |||
adb setprop log.tag.FxAccounts VERBOSE | adb setprop log.tag.FxAccounts VERBOSE | ||
adb setprop log.tag.FxAccountSyncAdapter VERBOSE | adb setprop log.tag.FxAccountSyncAdapter VERBOSE</nowiki> | ||
</nowiki> | |||
** Run this <nowiki>adb logcat | grep -in 'account'</nowiki> | ** Run this <nowiki>adb logcat | grep -in 'account'</nowiki> | ||
Revision as of 00:42, 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
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
- Run this adb logcat | grep -in 'account'