-
-
Notifications
You must be signed in to change notification settings - Fork 454
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
Prevent log-informations? #277
Comments
You should try with log_level=0 in constructor, for example However, I have tried both options above and still this information is in logs. I'm using Python 3.10 and pytest 6.2.5, so I guess it's a bug related to newest versions of Python and Pytest. |
With this it was working:
But with this it wasn´t working:
I am using: |
Neither way works for me unfortunately... how do I get rid of the logging? It messes up my console output on multi threading. |
Interesting - this is the full code which works for me - Using: Are you using the same versions like me?
|
I am also using exactly the same line I just updated the webdriver manager to 3.5.2 (latest) and selenium to 4.1.0 (latest). Now it finally works. I have tried with os.environ and with log_level, both work individually just fine now. So there seems to be a bug probably in one of the older versions of webdriver manager. |
So I am having the same problem...
in despriration I've also tried this (which has worked for me with other "noisy" libs) interesting enough I am getting this as my output:
it's duplicating log messages!!! wtf? |
this is also in #287 |
so finally have some time to get back to this... so I've noticed that it works when I execute the |
ugh... think I figured it out. so in the module that was calling the one that used webdriver manager it was setting this:
which affects all imported modules as well. I was just using
|
@Rapid1898-code @baca90 @Raichuu41 @dwightmulcahy hello! I have made a feature flag. Please check out at master branch. Lines 207 to 209 in 1281af3
This should work and would not affect your project loggers. |
Hello - is there any way to prevent the program for outputting this log-informations like:
I tried it with (as it is described in the description):
But this is not working for me - i still get the outputs in the log.
The text was updated successfully, but these errors were encountered: