ericmckean / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

enable-logging doesn't log chrome #934

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I changed the system environment variable CHROME_LOG_FILE to 
c:/tmp/chrome_debug.log

Then when I run this code:
      require 'selenium-webdriver'
      switchesA=["--enable-logging","--v=1"]
      driver=Selenium::WebDriver.for(:chrome, :switches => switchesA)
      url="http://www.google.es"
      driver.navigate.to url
      driver.quit

Doens't log anything on that file.. but if I add manually those switches to the 
chrome file link... yes it logs everything

Selenium version: 2.43.0
OS: Windows 7
Browser: Chrome
Browser version: 37.0.2062.124 m

Original issue reported on code.google.com by TCBl...@gmail.com on 14 Oct 2014 at 11:28

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
you have the log, but got filtered out due to the log level.
switchesA=["--enable-logging","--v=1"]  redefine your log level
let me if we close this case.

Original comment by andrewch...@chromium.org on 2 Dec 2014 at 2:18

GoogleCodeExporter commented 9 years ago

Original comment by andrewch...@chromium.org on 20 Jan 2015 at 11:11

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:26