Closed Bug 1356314 Opened 8 years ago Closed 8 years ago

switch antenna to mozlog format [antenna]

Categories

(Socorro :: Antenna, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: willkg)

References

Details

Attachments

(1 file)

Currently, Antenna generates logs using the Python logging module with an unstructured format. This worked super for development and even getting us to production, but it doesn't jive with downstream systems that require a more structured logging format. This issue covers switching Antenna to use mozlog format.
I'll look at doing this. We're going to need to do the same with the processor. Might as well do it next.
Assignee: nobody → willkg
Status: NEW → ASSIGNED
Blocks: 1356367
Switching Antenna bugs to Antenna component.
Component: General → Antenna
Found a better library that uses the Python logging infrastructure: https://github.com/mozilla/mozilla-cloud-services-logger That library could use a little help, so I'll probably spend a few hours to fix some issues and then use that.
Turns out mozilla-cloud-services-logger is abandoned and that there's a **third** mozlog implementation! python-dockerflow is the appropriate library to use. It says it's a Django lib, but it's not. Normandy is switching to that soon. We should use that, too. However, we should spend some time helping hem out first. I wrote up this issue: https://github.com/mozilla-services/python-dockerflow/issues/12
Had to fix the host id filter: https://github.com/mozilla/antenna/pull/230 All that's landed. Just need to deploy it.
This is done. Marking as FIXED.
Status: ASSIGNED → RESOLVED
Closed: 8 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: