-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[GeckoDriver v0.23.0 - Selenium 3.14.0 - Firefox v62.0.3] How to configure GeckoDriver to control the Marionette logs through LoggingPreferences? #1392
Comments
See https://firefox-source-docs.mozilla.org/testing/geckodriver/geckodriver/TraceLogs.html for documentation on enabling trace-level logs. There are examples near the bottom. |
Thanks @andreastt for looking into this issue. As my objective was to control the log messages through However, as per the documentation Enabling trace logs though fatal seems to carry the least bandwidth we can still see the same set of logs:
#MCVE:
Stacktrace:
|
You should ask the Selenium people for Selenium API specific questions. |
Setting the log level through geckodriver only controls the Marionette logger. The others cannot be controlled. |
Thanks again @andreastt Perhaps I need your help to understand your comment. When you say ...Setting the log level through geckodriver only controls the Marionette logger... I understand Marionette shouldn't produce the logs. But we still see Marionette: |
Well, I don’t know what And yes, if you set that to |
Thanks again @andreastt for the beautiful explanation. I will take up this with Selenium team. |
See also #619 for the Firefox log output. |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have run into an issue you think is related, please open a new issue. |
[GeckoDriver v0.23.0 - Selenium 3.14.0 - Firefox v62.0.3] How to configure GeckoDriver to control the Marionette logs through LoggingPreferences?
System
Testcase:
I am trying to configure the loglevel of
BROWSER
,CLIENT
,DRIVER
,PROFILER
,PERFORMANCE
, andSERVER
through an instance ofLoggingPreferences
setting theLogType
toLevel.OFF
.With Selenium 3.14.0, GeckoDriver v0.23.0 and Firefox v62.0.3 still unable to control the following logs:
Parent xxx, Gecko_IOThread
:WARNING
Marionette
: WARNING, INFO and DEBUGChild xyz, Chrome_ChildThread
: WARNINGPS:
This usecase is based on
LoggingPreferences
avoidingFirefoxDriverLogLevel
MCVE:
Stacktrace
Trace-level log
The text was updated successfully, but these errors were encountered: