Add --log-cli option #7680
Labels
plugin: logging
related to the logging builtin plugin
topic: config
related to config handling, argument parsing and config file
type: proposal
proposal for a new feature, often to gather opinions or design the API around the new feature
It is a bit tiresome to use
-o log_cli=true
to enable live logging – I've found that this is one of the options I use most often while TDD-ing. Adding this option to the config file is not really nice either because if one accidentally commits it then the automated tests are going to start doing live logging too, which is most likely not what one wants.Would it be therefore possible to add a
--log-cli
option to pytest? Having a shorter flag like-g
as well would be even more awesome (unfortunately-l
is already used by a flag I rarely if ever need).Thank you!
The text was updated successfully, but these errors were encountered: