Closed
Bug 1221655
Opened 10 years ago
Closed 10 years ago
[fxos-device-service] Clear log
Categories
(Firefox OS Graveyard :: Infrastructure, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.6 S1 - 11/20
People
(Reporter: Eli, Assigned: Eli)
Details
(Whiteboard: [systemsfe])
Attachments
(1 file)
Should be able to wipe out logcat via service. Probably a DELETE request.
Assignee | ||
Comment 1•10 years ago
|
||
Raptor has some special logic with regards to clearing logic and connecting to logcat. Here is a comment from the codebase:
// There are two issues with `logcat -c` on Android L: 1) it doesn't clear the
// buffer, and 2) it stops current logcat from outputting messages. This is a
// workaround to take a timestamp and use it in next logcat call, i.e. next
// start() invocation so we don't run |logcat -c| here.
So we may need to adapt the logic in the service to account for a workaround.
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8683811 -
Flags: review?(gaye)
Comment 3•10 years ago
|
||
Comment on attachment 8683811 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/fxos-device-service/pull/19
Nice work!
Attachment #8683811 -
Flags: review?(gaye) → review+
Comment 4•10 years ago
|
||
Landed on master https://github.com/mozilla-b2g/fxos-device-service/commit/a1fd559e6e6431e823c09933516a64f302bbcfb3
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Target Milestone: FxOS-S11 (13Nov) → 2.6 S1 - 11/20
Updated•10 years ago
|
Whiteboard: [systemsfe]
You need to log in
before you can comment on or make changes to this bug.
Description
•