gecko-dev/testing/mozbase/mozlog/tests
Nikki S 30631bd28b Bug 1066323 - [mozlog] Mozlog shouldn't propagate unremarkable defaults to the raw log r=jgraham
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
2019-05-21 15:49:51 +00:00
..
manifest.ini mozlog: move the capture io class from web-platform/tests to mozlog (bug 1021926) r=jgraham 2019-03-12 10:21:12 +00:00
test_capture.py mozlog: move the capture io class from web-platform/tests to mozlog (bug 1021926) r=jgraham 2019-03-12 10:21:12 +00:00
test_formatters.py Bug 1471648 - [mozlog] Add support for Python 3; r=raphael 2019-02-01 13:08:09 +00:00
test_logger.py Bug 1471648 - [mozlog] Add support for Python 3; r=raphael 2019-02-01 13:08:09 +00:00
test_logtypes.py
test_structured.py Bug 1066323 - [mozlog] Mozlog shouldn't propagate unremarkable defaults to the raw log r=jgraham 2019-05-21 15:49:51 +00:00