Closed Bug 1513563 Opened 6 years ago Closed 6 years ago

Provide a way to dump pings to logcat

Categories

(Toolkit :: Telemetry, enhancement, P3)

enhancement
Points:
2

Tracking

()

RESOLVED FIXED
Tracking Status
firefox66 --- affected

People

(Reporter: Dexter, Assigned: mdroettboom)

References

Details

(Whiteboard: [telemetry:mobilesdk:m3])

Attachments

(1 file)

telemetry-android allows to dump pings to logcat instead of sending them to our servers.

We could use a similar mechanism while debugging, to avoid spamming our code with breakpoints or printfs :)

The current implementation for telemetry-android lives here: https://github.com/mozilla-mobile/android-components/blob/master/components/service/telemetry/src/main/java/org/mozilla/telemetry/net/DebugLogClient.kt
Blocks: 1491345
Points: --- → 2
Priority: -- → P3
Whiteboard: [telemetry:mobilesdk:m3]
Assignee: nobody → mdroettboom
What should turn this behavior on and off?  A flag on the Glean.Configuration object, or something else?
Flags: needinfo?(alessio.placitelli)
(In reply to Michael Droettboom [:mdroettboom] from comment #1)
> What should turn this behavior on and off?  A flag on the
> Glean.Configuration object, or something else?

I think we should just check a flag in Glean.Configuration.
Flags: needinfo?(alessio.placitelli)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: