Closed
Bug 1145192
Opened 10 years ago
Closed 10 years ago
GeckoProfile spamming Android log with: Fetching profile: '', 'null'
Categories
(Firefox for Android Graveyard :: Data Providers, defect)
Tracking
(firefox38 affected, firefox39 ?, firefox42 fixed, fennec+)
RESOLVED
FIXED
Firefox 42
People
(Reporter: mbrubeck, Assigned: droeh, Mentored)
References
Details
(Keywords: regression, Whiteboard: [lang=java])
Attachments
(1 file, 3 obsolete files)
2.07 KB,
patch
|
snorp
:
review+
|
Details | Diff | Splinter Review |
Aurora 38 (running on Nexus 4, Android 5.0) is writing this line the logs several times per second:
V/GeckoProfile(11747): Fetching profile: '', 'null'
Possibly related to bug 1077590, which added this log line.
Comment 1•10 years ago
|
||
Let's remove or hide this output based on the logging state.
Mentor: mark.finkle, rnewman
tracking-fennec: ? → +
Whiteboard: [lang=java]
Updated•10 years ago
|
Assignee: nobody → droeh
Assignee | ||
Comment 2•10 years ago
|
||
Proposed patch; this just skips the logging when profileName is an empty string and profileDir is null.
Assignee | ||
Comment 3•10 years ago
|
||
Updates previously proposed patch, moving logging statement to an else clause a few lines down.
Attachment #8628335 -
Attachment is obsolete: true
Attachment #8628484 -
Flags: review?(snorp)
Comment 4•10 years ago
|
||
Comment on attachment 8628484 [details] [diff] [review]
Proposed patch (updated)
Review of attachment 8628484 [details] [diff] [review]:
-----------------------------------------------------------------
::: mobile/android/base/GeckoProfile.java
@@ +253,5 @@
> // We're unable to do anything sane here.
> throw new RuntimeException(e);
> }
> }
> + else {
Put the else on the same line as the closing brace above, looks good otherwise.
Attachment #8628484 -
Flags: review?(snorp) → review-
Assignee | ||
Comment 5•10 years ago
|
||
Stylistic fix
Attachment #8628484 -
Attachment is obsolete: true
Attachment #8628489 -
Flags: review?(snorp)
Updated•10 years ago
|
Attachment #8628489 -
Flags: review?(snorp) → review+
Updated•10 years ago
|
Keywords: checkin-needed
Updated•10 years ago
|
Keywords: checkin-needed
Comment 6•10 years ago
|
||
Comment on attachment 8628489 [details] [diff] [review]
Proposed patch (updated)
Review of attachment 8628489 [details] [diff] [review]:
-----------------------------------------------------------------
Oops. You need to fix the commit message. Something like:
Bug 1145192 - Don't spam the logs when retrieving the profile on Android r=snorp
The message should say what the patch does, and the r=snorp means it was reviewed (and approved) by me.
Attachment #8628489 -
Flags: review+ → review-
Assignee | ||
Comment 7•10 years ago
|
||
Fixed commit message
Attachment #8628489 -
Attachment is obsolete: true
Attachment #8628531 -
Flags: review?(snorp)
Updated•10 years ago
|
Attachment #8628531 -
Flags: review?(snorp) → review+
Updated•10 years ago
|
Keywords: checkin-needed
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 42
Blocks: 1249092
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•