Control logging level from command line
It is often useful to control which logging level you want to use on a given test run outside the actual code.
It's also considered bad practice to have the actual code setting their own logging level, which if set globally makes it hard to control externally.
I couldn't find a way to achieve this using py.test and pytest-capturelog is the most logical place to have this option. Therefore I ask if an option
--log-level can be added, accepting one of the standard logging levels: