-
-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to enable logging module on wdm version 3.8.3? #424
Comments
Hey @faalbers we may need more informations to help you. Like screenshot and your environment. |
Hi @mouadessalim - I may be experiencing the same issue. I've been using My working Python 3.8.5 virtual environment has:
My logging output is eaten for However, HTH |
try to add in your code : Lines 216 to 224 in dd39e87
|
I tried turning off the WDM logs in my code with
I also tried executing with a All logs suppressed except:
I know we're debugging here, but I do want the WDM logger output. It's very useful in my work. |
look at #434. I've already asked the same question. |
I figured out my issue. Short Answer: (Completely) Follow the canonical StackOverflow answer for configuring python logging to stdout Long Answer: And it seems like the When I configured my own handler for stdout, I forgot the final step of adding the stdout handler to the root logger. My complete, working config for logging to stdout:
|
Seems problem has been solved. Also 3.8.5 webdriver manager available and it also works fine if set log level and enable log cli in pytest. |
I'm using logging to log into a file.
When I use:
from webdriver_manager.chrome import ChromeDriverManager
logging does not work correctly anymore. It prints in the console instead of in the log file
The text was updated successfully, but these errors were encountered: