Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make JsonLogFormatter easier to extend #37

Merged
merged 1 commit into from Sep 26, 2019

Conversation

diox
Copy link
Contributor

@diox diox commented Sep 3, 2019

Ref #29
Ref mozilla/addons#6761

AMO has switched to Stackdriver, but we're still using python-dockerflow's JsonLogFormatter to adhere to MozLog standard. We'd like to augment the logs to leverage more Stackdriver functionality, so this is what I came up with to help us. While I was at it I added a separate method to help with mozilla/addons-server#29 because it was a good proof of concept regarding ease of extensibility.

Let me know if you consider this is going too far for you - but my alternative is pretty much copy/pasting and modifying this code in our repos...

Copy link
Contributor

@jezdez jezdez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants