Closed Bug 1286169 Opened 8 years ago Closed 8 years ago

Log addon name and version when logging info about reconciling addons.

Categories

(Firefox :: Sync, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 50
Tracking Status
firefox50 --- fixed

People

(Reporter: markh, Unassigned)

Details

Attachments

(1 file)

When diagnosing addon sync issues, it can be difficult to determine what addon is referenced in logs as GUIDs are typically the only thing logged (and often the only thing we have.

However, most logs start with, eg:

> Sync.AddonsReconciler	DEBUG	Rectifying state for addon d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d

But that this point we *do* have more info - with the following patch this log entry becomes:

> Sync.AddonsReconciler	DEBUG	Rectifying state for addon Adblock Plus (version=2.7.3, id={d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d})

Which makes it much easier to reconcile future log entries that just have the GUID with the specific addon being references.
Comment on attachment 8770029 [details]
Bug 1286169 - include addon names and versions in some Sync logs.

https://reviewboard.mozilla.org/r/63642/#review60634

Looks good to me.
Attachment #8770029 - Flags: review?(tchiovoloni) → review+
Pushed by mhammond@skippinet.com.au:
https://hg.mozilla.org/integration/autoland/rev/9f230c122faa
include addon names and versions in some Sync logs. r=tcsc
https://hg.mozilla.org/mozilla-central/rev/9f230c122faa
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 50
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: