Confirmed users
98
edits
(created initial article for extended about:sync logging) |
(Few tweaks) |
||
Line 1: | Line 1: | ||
The '''about:sync-log''' provides a list with log files and shows their location within the Firefox profile stored on your computer. | The '''about:sync-log''' provides a list with log files and shows their location within the Firefox profile stored on your computer. | ||
By default it is setup to '''only log unsuccessful''' sync events | By default it is setup to '''only log unsuccessful''' sync events. | ||
You can configure Firefox to write log files on successful sync as well by either: | |||
* Installing the [https://addons.mozilla.org/en-US/firefox/addon/about-sync/ about:sync addon] - it will automatically configure logging on installation. | |||
* Manually edit the '''services.sync.log.appender.file.logOnSuccess''' preference by following these steps: | |||
#Type '''about:config''' in the address bar and press <big>Enter</big>. A warning page may appear. Click '''Accept the Risk and Continue''' to go to the about:config page. (For more information about this page see [https://support.mozilla.org/en-US/kb/about-config-editor-firefox Configuration Editor for Firefox].)<br> | #Type '''about:config''' in the address bar and press <big>Enter</big>. A warning page may appear. Click '''Accept the Risk and Continue''' to go to the about:config page. (For more information about this page see [https://support.mozilla.org/en-US/kb/about-config-editor-firefox Configuration Editor for Firefox].)<br> | ||
#Search for the '''services.sync.log.appender.file.logOnSuccess''' preference and change its value from '''false''' to '''true''' by clicking the '''Toggle''' https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/gallery/images/2019-10-29-08-56-36-b0ab10.png button.<br> | #Search for the '''services.sync.log.appender.file.logOnSuccess''' preference and change its value from '''false''' to '''true''' by clicking the '''Toggle''' https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/gallery/images/2019-10-29-08-56-36-b0ab10.png button.<br> | ||
Once you have configured Sync to log on success you can view the logs by following this process: | |||
#Type '''about:sync-log''' in the address bar and press <big>Enter</big>.<br> You should see a page with your sync-log filepath, starting with '''Index of file:///'''. A few files named in the style of '''error-sync-x.txt''' might be listed. Occasionally, DNS errors might occur, so if you have only a few of those files and only one file from the same day then all should be ok. | #Type '''about:sync-log''' in the address bar and press <big>Enter</big>.<br> You should see a page with your sync-log filepath, starting with '''Index of file:///'''. A few files named in the style of '''error-sync-x.txt''' might be listed. Occasionally, DNS errors might occur, so if you have only a few of those files and only one file from the same day then all should be ok. | ||
#Click the Firefox Account icon in the toolbar.<br>https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/gallery/images/2019-02-22-19-04-03-e9bec4.png<br><br> | #Click the Firefox Account icon in the toolbar.<br>https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/gallery/images/2019-02-22-19-04-03-e9bec4.png<br><br> | ||
#Click on sync now (assuming you already have [https://support.mozilla.org/en-US/kb/how-do-i-set-sync-my-computer set up Sync]).<br>Depending on how long you have browsed without syncing it can take up to a couple of minutes to be completed.<br>https://i.postimg.cc/PrDLmQ9h/sync-now.jpg<br><br> | #Click on sync now (assuming you already have [https://support.mozilla.org/en-US/kb/how-do-i-set-sync-my-computer set up Sync]).<br>Depending on how long you have browsed without syncing it can take up to a couple of minutes to be completed.<br>https://i.postimg.cc/PrDLmQ9h/sync-now.jpg<br><br> | ||
#After the successful sync, a new file '''success-sync-x.txt''' should appear in the list. It's done! Now you will be able to always see when your last successful sync occured.<br> | #After the successful sync, a new file '''success-sync-x.txt''' should appear in the list. It's done! Now you will be able to always see when your last successful sync occured.<br> | ||
# | #Firefox will automatically clean up old log files, although you can remove them manually. If you are no longer interested in these logs, you can set the '''services.sync.log.appender.file.logOnSuccess''' preference to '''false''' again. The growth of the sync logs depends on your individual browsing activity, but by default it is scheduled to sync every 10 minutes (~20 KB per logfile, equals to ~1MB per 8 hours of runtime). |