mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
c7ebd24d8e
This is case that got hit with the new mochitest selftest harness. In this scenario, several MochitestDesktop instances (which call commandline.setup_logging in their constructor) are instantiated in the same interpreter. Because mozlog implicitly saves the logger state, this meant that setup_logging kept appending duplicate handlers to the existing ones. I believe that the intent of 'setup_logging' is to get a brand new logger, so it should ensure logger state is reset on subsequent calls. MozReview-Commit-ID: Jqyhbj7nC6z --HG-- extra : rebase_source : f267489bef99f3ac3d657357002a0001610a038f |
||
---|---|---|
.. | ||
mozlog | ||
tests | ||
setup.py |