Closed Bug 1021817 Opened 8 years ago Closed 8 years ago

[mozharness] Move structured logging support code into mozharness proper

Categories

(Release Engineering :: Applications: MozharnessCore, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jgraham, Assigned: jgraham)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The structured logging OutputParser that's used for web-platform-tests is rather generic across all users of structured logging. We can put this into mozharness itself and use it in multiple scripts.
Assignee: nobody → james
Status: NEW → ASSIGNED
Comment on attachment 8435915 [details] [diff] [review]
Move StructuredOutputParser into mozharness proper

The StructuredFormatter is test-related enough that this might belong in mozharness.mozilla.testing.structuredlog instead of mozharness.mozilla.structuredlog.  I don't think that blocks. r+; thanks!
Attachment #8435915 - Flags: review?(aki) → review+
https://hg.mozilla.org/build/mozharness/rev/d76156e83a22

I didn't move it to testing, because in principle there's nothing testing-specific about this; we can reuse structured logging in many non-test contexts. It just happens to have a lot of specialized bits for testing because that's been the motivating use case.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Live with reconfig on 2014-06-11 08:47 PT
Component: General Automation → Mozharness
You need to log in before you can comment on or make changes to this bug.