Closed Bug 1095051 Opened 10 years ago Closed 7 years ago

Support structured logging in mochitest-jetpack

Categories

(Add-on SDK Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: mossop, Unassigned)

References

()

Details

      No description provided.
Blocks: 1095024
Priority: -- → P1
What is supposed to be achieved in this bug?
Flags: needinfo?(dtownsend)
The tools teams are in the progress of switching all test harnesses to output structured logging instead of simple text logs. Structured logs output JSON data for each log message rather than just a simple string allowing automated systems to understand those logs simply rather than having to rely on special string matching in the log lines like they do now.

During the review of the harness parts of mochitest-jetpack this came up and I was asked to file this bug. It sounds likely that structured logging might become a requirement for tests in the future so I started playing with it a little. I had the beginnings of a patch here but was focusing on getting mochitest-jetpack fully running first. Not sure if I'll do any more work on this: http://hg.oxymoronical.com/mozilla/queues/general/file/8499c6f8133e/bug1095051.patch
Flags: needinfo?(dtownsend)
Priority: P1 → --
https://bugzilla.mozilla.org/show_bug.cgi?id=1399562
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.