Closed Bug 1146786 Opened 9 years ago Closed 9 years ago

browser-sidebar logs lots of noise

Categories

(Firefox Graveyard :: Reading List, defect)

defect
Not set
normal

Tracking

(firefox38 fixed, firefox39 fixed)

RESOLVED FIXED
Firefox 39
Tracking Status
firefox38 --- fixed
firefox39 --- fixed

People

(Reporter: markh, Assigned: markh)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The logs for the sidebar end up in the readinglist "sync" logs (which seems fine) although they are a bit noisy.  This patch changes some log.debug calls to log.trace calls (.trace calls will *not* end up in these logs by default)
Attachment #8582220 - Flags: review?(florian)
Flags: qe-verify-
Flags: firefox-backlog+
Assignee: nobody → mhammond
Blocks: 1132074
Status: NEW → ASSIGNED
Iteration: --- → 39.3 - 30 Mar
Comment on attachment 8582220 [details] [diff] [review]
0010-Bug-XXXXXXX-make-readinglist-sidebar-logs-less-noisy.patch

Review of attachment 8582220 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/components/readinglist/sidebar.js
@@ +233,5 @@
>        log.error(`Unable to set selectedItem to invalid node ${node}`);
>        return;
>      }
>  
> +    log.trace(`Setting activeItem: ${node ? node.id : null}`);

While you are at it, please fix this to say "selectedItem" instead of "activeItem". I guess this was a copy/paste mistake initially.
Attachment #8582220 - Flags: review?(florian) → review+
https://hg.mozilla.org/mozilla-central/rev/b210e4342ee9
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 39
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: