1

I'm trying to turn off the logger in eclipse while using the selenium web driver.

    FirefoxProfile profile = new FirefoxProfile();       
    profile.setPreference("webdriver.log.driver", "ERROR");

    WebDriver driver = new FirefoxDriver(profile);

while running the program, i'm still getting these debug logs:

[DEBUG] 2015-04-10 12:10:39,904
CookieSpec selected: best-match

[DEBUG] 2015-04-10 12:10:39,922
Auth cache not set in the context

[DEBUG] 2015-04-10 12:10:39,925
Connection request: [route: {}->http://127.0.0.1:7056][total kept alive: 0; route allocated: 0 of 2000; total allocated: 0 of 2000]

[DEBUG] 2015-04-10 12:10:39,960
Connection leased: [id: 0][route: {}->http://127.0.0.1:7056][total kept alive: 0; route allocated: 1 of 2000; total allocated: 1 of 2000]

[DEBUG] 2015-04-10 12:10:39,969
Opening connection {}->http://127.0.0.1:7056

Is there any way to turn them off?

USer22999299
  • 5,284
  • 9
  • 46
  • 78

0 Answers0