Add --capture-logs to capture output from all logging levels (which hides all logging output).
(Also settable with os.environ --> "NOSE_CAPTURELOGS""1")
--
Note: To capture the output of print() statements, use the existing --capture-output option.
(Also settable with os.environ --> "NOSE_CAPTURE""1")
Add --logging-init to automatically call logging.basicConfig(level), which may be needed if you want to change the default logging level using --logging-level=LEVEL.
(Also settable with os.environ --> "NOSE_LOGINIT""1")
Logging Optimizations
Add
--capture-logs
to capture output from all logging levels (which hides all logging output).(Also settable with
os.environ
-->"NOSE_CAPTURELOGS"
"1"
)--
Note: To capture the output of
print()
statements, use the existing--capture-output
option. (Also settable withos.environ
-->"NOSE_CAPTURE"
"1"
)Add
--logging-init
to automatically calllogging.basicConfig(level)
, which may be needed if you want to change the default logging level using--logging-level=LEVEL
.(Also settable with
os.environ
-->"NOSE_LOGINIT"
"1"
)