mozilla / geckodriver

WebDriver for Firefox
https://firefox-source-docs.mozilla.org/testing/geckodriver/
Mozilla Public License 2.0
7.03k stars 1.51k forks source link

Undesired Logging #2111

Closed titusfortner closed 1 year ago

titusfortner commented 1 year ago

Geckodriver outputs so much stuff to the console. My expectation is that I can pass in values to the driver with --log and only see the filtered output. Is this output intended not to be able to be filtered via the driver?

System

Testcase

This code:

  System.setProperty(GeckoDriverService.GECKO_DRIVER_LOG_LEVEL_PROPERTY, "FATAL");
  driver = new FirefoxDriver();

Starts the driver with:

[--port=35197, --websocket-port=10277, --allow-origins, http://127.0.0.1:10277, http://localhost:10277, http://[::1]:10277, --log, fatal]

Trace-level log

https://gist.github.com/titusfortner/22f2aa1b167041ba0fae3e1cf3c7ae71

whimboo commented 1 year ago

@titusfortner isn't that a dupe of issue #619?

titusfortner commented 1 year ago

Ah, yes, looks like it. Thanks.