mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 03:05:34 +00:00
30631bd28b
Currently, some of the raw JSON logs for mochitest and marionette, et al, include empty dictionaries, None values and other unremarkable values that are marked as optional. This fix aims to remove these unnecessary items from being passed to the raw log. A method has been added to the log_actions class which removes defaults if they are marked as optional and the value is included in the default list. This is called on the kwargs returned by the convert_known method, before being propagated to the log_raw method for StructuredLogger. Differential Revision: https://phabricator.services.mozilla.com/D25081 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
mozlog | ||
tests | ||
setup.cfg | ||
setup.py |