{"action":"created","issue":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/3433","repository_url":"https://api.github.com/repos/SeleniumHQ/selenium","labels_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/3433/labels{/name}","comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/3433/comments","events_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/3433/events","html_url":"https://github.com/SeleniumHQ/selenium/issues/3433","id":203949735,"number":3433,"title":"Not able to turn off the geckologs in selenium 3.0.1","user":{"login":"sureshkumar-skc","id":12427607,"avatar_url":"https://avatars1.githubusercontent.com/u/12427607?v=4","gravatar_id":"","url":"https://api.github.com/users/sureshkumar-skc","html_url":"https://github.com/sureshkumar-skc","followers_url":"https://api.github.com/users/sureshkumar-skc/followers","following_url":"https://api.github.com/users/sureshkumar-skc/following{/other_user}","gists_url":"https://api.github.com/users/sureshkumar-skc/gists{/gist_id}","starred_url":"https://api.github.com/users/sureshkumar-skc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sureshkumar-skc/subscriptions","organizations_url":"https://api.github.com/users/sureshkumar-skc/orgs","repos_url":"https://api.github.com/users/sureshkumar-skc/repos","events_url":"https://api.github.com/users/sureshkumar-skc/events{/privacy}","received_events_url":"https://api.github.com/users/sureshkumar-skc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2017-01-30T08:25:44Z","updated_at":"2017-09-08T14:47:26Z","closed_at":"2017-04-08T21:00:44Z","author_association":"NONE","body":"## Meta -\r\nOS:   Windows 10 x64\r\n<!-- Windows 10? OSX? -->\r\nSelenium Version:  3.0.1\r\n<!-- 2.52.0, IDE, etc -->\r\nBrowser: firefox\r\n<!-- Internet Explorer?  Firefox?\r\n\r\nSince Firefox version 48, Mozilla requires all add-ons to be signed. Until\r\nrecently, Firefox support in Selenium was exclusively provided by an add-on.\r\nAs this add-on is not currently signed, this solution does not work with the\r\nlatest Firefox releases. As an alternative, Mozilla are working on a WebDriver\r\nspecification compliant implementation named GeckoDriver. Please note that the specification is not complete, and that Selenium itself does not comply with\r\nthe specification at this time. This means that features previously available\r\nthrough Selenium will not be available using GeckoDriver.\r\n\r\nAny issue logged here for Firefox 48 or later will be closed as a duplicate of\r\n#2559. Our recommendation is to switch to GeckoDriver, or to continue testing\r\non Firefox 45 until GeckoDriver is a viable option for you. If you are\r\ninterested in helping us to sign the add-on to restore support for later\r\nFirefox versions, please see the following comment for what's needed:\r\nhttps://github.com/SeleniumHQ/selenium/issues/2942#issuecomment-259717567\r\n\r\nIf the issue is with Google Chrome consider logging an issue with chromedriver instead:\r\nhttps://sites.google.com/a/chromium.org/chromedriver/help\r\n\r\nIf the issue is with Microsoft Edge consider logging an issue with Microsoft instead:\r\nhttps://developer.microsoft.com/en-us/microsoft-edge/platform/issues/\r\n\r\nIf the issue is with Firefox GeckoDriver (aka Marionette) consider logging an issue with Mozilla:\r\nhttps://bugzilla.mozilla.org/buglist.cgi?product=Testing&component=Marionette\r\n\r\nIf the issue is with Safari, only Safari 10+ is supported. Please log any Safari issue with Apple:\r\nhttps://bugreport.apple.com/\r\n\r\nIf the issue is with PhantomJS consider logging an issue with Ghostdriver:\r\nhttps://github.com/detro/ghostdriver\r\n\r\n-->\r\n\r\nBrowser Version:  50.1.0 (64-bit)\r\n<!-- e.g.: 49.0.2623.87 (64-bit) -->\r\n\r\n## Expected Behavior -\r\nMy custom logs only should be visible on my eclipse console \r\n## Actual Behavior -\r\nAll the logs including js warnings, info all others with my custom logs is displayed on console\r\n## Steps to reproduce -\r\n- Downloaded the geckodriver and selenium 3.0.1, set the system property to geckodriver \r\n- Created the FirefoxDriver()\r\n- Some usefull logs were thrown which is not at all required for the end user\r\n\r\n\r\n1485764084437\tgeckodriver\tINFO\tListening on 127.0.0.1:26828\r\n1485764085273\tmozprofile::profile\tINFO\tUsing profile path C:\\Users\\SURESH~2\\AppData\\Local\\Temp\\rust_mozprofile.jchFFtkfPkyz\r\n1485764085301\tgeckodriver::marionette\tINFO\tStarting browser C:\\Program Files\\Mozilla Firefox\\firefox.exe\r\n1485764085320\tgeckodriver::marionette\tINFO\tConnecting to Marionette on localhost:58701\r\n1485764085895\taddons.manager\tDEBUG\tApplication has been upgraded\r\n1485764086106\taddons.manager\tDEBUG\tLoaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: [\"XPIProvider\"]\r\n1485764086111\taddons.manager\tDEBUG\tLoaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: [\"LightweightThemeManager\"]\r\n1485764086123\taddons.manager\tDEBUG\tLoaded provider scope for resource://gre/modules/addons/GMPProvider.jsm\r\n1485764086129\taddons.manager\tDEBUG\tLoaded provider scope for resource://gre/modules/addons/PluginProvider.jsm\r\n1485764086131\taddons.manager\tDEBUG\tStarting provider: XPIProvider\r\n1485764086132\taddons.xpi\tDEBUG\tstartup\r\n1485764086134\taddons.xpi\tINFO\tSystemAddonInstallLocation directory is missing\r\n1485764086137\taddons.xpi\tINFO\tMapping aushelper@mozilla.org to C:\\Program Files\\Mozilla Firefox\\browser\\features\\aushelper@mozilla.org.xpi\r\n1485764086137\taddons.xpi\tINFO\tMapping e10srollout@mozilla.org to C:\\Program Files\\Mozilla Firefox\\browser\\features\\e10srollout@mozilla.org.xpi\r\n1485764086139\taddons.xpi\tINFO\tMapping firefox@getpocket.com to C:\\Program Files\\Mozilla Firefox\\browser\\features\\firefox@getpocket.com.xpi\r\n1485764086140\taddons.xpi\tINFO\tMapping webcompat@mozilla.org to C:\\Program Files\\Mozilla Firefox\\browser\\features\\webcompat@mozilla.org.xpi\r\n1485764086141\taddons.xpi\tINFO\tMapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\\Program Files\\Mozilla Firefox\\browser\\extensions\\{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi\r\n1485764086143\taddons.xpi\tDEBUG\tcheckForChanges\r\n1485764086144\taddons.xpi\tDEBUG\tLoaded add-on state from prefs: {}\r\n1485764086147\taddons.xpi\tDEBUG\tNew add-on aushelper@mozilla.org in app-system-defaults\r\n1485764086150\taddons.xpi\tDEBUG\tgetModTime: Recursive scan of aushelper@mozilla.org\r\n1485764086151\taddons.xpi\tDEBUG\tNew add-on e10srollout@mozilla.org in app-system-defaults\r\n.........\r\n\r\nHow to turn off these logs ?"},"comment":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/comments/328123298","html_url":"https://github.com/SeleniumHQ/selenium/issues/3433#issuecomment-328123298","issue_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/3433","id":328123298,"user":{"login":"lmtierney","id":4405962,"avatar_url":"https://avatars1.githubusercontent.com/u/4405962?v=4","gravatar_id":"","url":"https://api.github.com/users/lmtierney","html_url":"https://github.com/lmtierney","followers_url":"https://api.github.com/users/lmtierney/followers","following_url":"https://api.github.com/users/lmtierney/following{/other_user}","gists_url":"https://api.github.com/users/lmtierney/gists{/gist_id}","starred_url":"https://api.github.com/users/lmtierney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmtierney/subscriptions","organizations_url":"https://api.github.com/users/lmtierney/orgs","repos_url":"https://api.github.com/users/lmtierney/repos","events_url":"https://api.github.com/users/lmtierney/events{/privacy}","received_events_url":"https://api.github.com/users/lmtierney/received_events","type":"User","site_admin":false},"created_at":"2017-09-08T14:47:26Z","updated_at":"2017-09-08T14:47:26Z","author_association":"MEMBER","body":"@akostadinov \r\nThen I must be crazy, because this works for me. If it's not working for you then I'd like to see a trace with debug logging as well as your code\r\n\r\n```\r\nrequire \"selenium-webdriver\"\r\nSelenium::WebDriver.logger.level = :debug\r\n\r\noptions = Selenium::WebDriver::Firefox::Options.new\r\noptions.log_level = 'trace'\r\n\r\ndriver = Selenium::WebDriver.for(:firefox, options: options)\r\nsleep(10)\r\ndriver.quit\r\n```\r\n\r\n\r\n```\r\n2017-09-08 09:44:10 DEBUG Selenium polling for socket on [\"127.0.0.1\", 4444]\r\n1504881850982\tgeckodriver\tINFO\tgeckodriver 0.18.0\r\n1504881850986\tgeckodriver\tINFO\tListening on 127.0.0.1:4444\r\n2017-09-08 09:44:11 INFO Selenium Skipping handshake as we know it is W3C.\r\n2017-09-08 09:44:11 INFO Selenium -> POST session\r\n2017-09-08 09:44:11 INFO Selenium    >>> http://127.0.0.1:4444/session | {\"desiredCapabilities\":{\"browserName\":\"firefox\",\"marionette\":true,\"timeouts\":{},\"moz:firefoxOptions\":{\"log\":{\"level\":\"trace\"}}},\"capabilities\":{\"firstMatch\":[{\"browserName\":\"firefox\",\"timeouts\":{},\"moz:firefoxOptions\":{\"log\":{\"level\":\"trace\"}}}]}}\r\n2017-09-08 09:44:11 DEBUG Selenium      > {\"Accept\"=>\"application/json\", \"Content-Type\"=>\"application/json; charset=utf-8\", \"Content-Length\"=>\"247\"}\r\n1504881851304\tgeckodriver::marionette\tINFO\tStarting browser /Applications/Firefox.app/Contents/MacOS/firefox-bin with args [\"-marionette\"]\r\n1504881851307\tgeckodriver::marionette\tTRACE\t  connection attempt 0/600\r\n1504881851412\tgeckodriver::marionette\tTRACE\t  connection attempt 1/600\r\n1504881851516\tgeckodriver::marionette\tTRACE\t  connection attempt 2/600\r\n1504881851620\tgeckodriver::marionette\tTRACE\t  connection attempt 3/600\r\n1504881851722\tgeckodriver::marionette\tTRACE\t  connection attempt 4/600\r\n1504881851784\tMarionette\tDEBUG\tReceived observer notification \"profile-after-change\"\r\n1504881851807\tMarionette\tDEBUG\tReceived observer notification \"command-line-startup\"\r\n1504881851808\tMarionette\tINFO\tEnabled via --marionette\r\n1504881851827\tgeckodriver::marionette\tTRACE\t  connection attempt 5/600\r\n1504881851930\tgeckodriver::marionette\tTRACE\t  connection attempt 6/600\r\n1504881852031\tgeckodriver::marionette\tTRACE\t  connection attempt 7/600\r\n1504881852136\tgeckodriver::marionette\tTRACE\t  connection attempt 8/600\r\n1504881852238\tgeckodriver::marionette\tTRACE\t  connection attempt 9/600\r\n1504881852339\tgeckodriver::marionette\tTRACE\t  connection attempt 10/600\r\n1504881852444\tgeckodriver::marionette\tTRACE\t  connection attempt 11/600\r\n1504881852547\tgeckodriver::marionette\tTRACE\t  connection attempt 12/600\r\n1504881852652\tgeckodriver::marionette\tTRACE\t  connection attempt 13/600\r\n2017-09-08 09:44:12.725 plugin-container[35978:1862307] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0xab3b, name = 'com.apple.tsm.portname'\r\nSee /usr/include/servers/bootstrap_defs.h for the error codes.\r\n2017-09-08 09:44:12.727 plugin-container[35978:1862307] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0xae03, name = 'com.apple.CFPasteboardClient'\r\nSee /usr/include/servers/bootstrap_defs.h for the error codes.\r\n1504881852755\tgeckodriver::marionette\tTRACE\t  connection attempt 14/600\r\n1504881852856\tgeckodriver::marionette\tTRACE\t  connection attempt 15/600\r\n1504881852913\tMarionette\tDEBUG\tReceived observer notification \"sessionstore-windows-restored\"\r\n1504881852914\tMarionette\tDEBUG\tReceived observer notification \"sessionstore-windows-restored\"\r\n1504881852960\tgeckodriver::marionette\tTRACE\t  connection attempt 16/600\r\n1504881853039\tMarionette\tDEBUG\tSetting recommended pref toolkit.cosmeticAnimations.enabled to false\r\n1504881853040\tMarionette\tDEBUG\tSetting recommended pref datareporting.policy.dataSubmissionPolicyAccepted to false\r\n1504881853040\tMarionette\tINFO\tListening on port 57381\r\nJavaScript error: chrome://marionette/content/server.js, line 337: NS_ERROR_SOCKET_ADDRESS_IN_USE: Component returned failure code: 0x804b0036 (NS_ERROR_SOCKET_ADDRESS_IN_USE) [nsIServerSocket.initSpecialConnection]\r\n1504881853065\tgeckodriver::marionette\tDEBUG\tConnected to Marionette on localhost:57381\r\n1504881853068\tMarionette\tDEBUG\tAccepted connection 0 from 127.0.0.1:57426\r\n1504881853068\tgeckodriver::marionette\tTRACE\t<- {\"applicationType\":\"gecko\",\"marionetteProtocol\":3}\r\n1504881853068\tgeckodriver::marionette\tTRACE\t-> 137:[0,1,\"newSession\",{\"browserName\":\"firefox\",\"capabilities\":{\"desiredCapabilities\":{\"browserName\":\"firefox\",\"timeouts\":{}}},\"timeouts\":{}}]\r\n1504881853069\tMarionette\tTRACE\t0 -> [0,1,\"newSession\",{\"browserName\":\"firefox\",\"capabilities\":{\"desiredCapabilities\":{\"browserName\":\"firefox\",\"timeouts\":{}}},\"timeouts\":{}}]\r\n1504881853072\tMarionette\tCONFIG\tMatched capabilities: {\"browserName\":\"firefox\",\"browserVersion\":\"55.0\",\"platformName\":\"darwin\",\"platformVersion\":\"16.7.0\",\"pageLoadStrategy\":\"normal\",\"acceptInsecureCerts\":false,\"timeouts\":{\"implicit\":0,\"pageLoad\":300000,\"script\":30000},\"rotatable\":false,\"specificationLevel\":0,\"moz:processID\":35977,\"moz:profile\":\"/var/folders/lp/kxd1t1m9113fpq4fv8r2gyrw0000gq/T/rust_mozprofile.uvDtYJBVrZEq\",\"moz:accessibilityChecks\":false}\r\n1504881853098\tMarionette\tDEBUG\tloaded listener.js\r\n1504881853106\tMarionette\tTRACE\t0 <- [1,1,null,{\"sessionId\":\"975e7509-bb61-064d-9a69-231bc045f50f\",\"capabilities\":{\"browserName\":\"firefox\",\"browserVersion\":\"55.0\",\"platformName\":\"darwin\",\"platformVersion\":\"16.7.0\",\"pageLoadStrategy\":\"normal\",\"acceptInsecureCerts\":false,\"timeouts\":{\"implicit\":0,\"pageLoad\":300000,\"script\":30000},\"rotatable\":false,\"specificationLevel\":0,\"moz:processID\":35977,\"moz:profile\":\"/var/folders/lp/kxd1t1m9113fpq4fv8r2gyrw0000gq/T/rust_mozprofile.uvDtYJBVrZEq\",\"moz:accessibilityChecks\":false}}]\r\n1504881853106\tgeckodriver::marionette\tTRACE\t<- [1,1,null,{\"sessionId\":\"975e7509-bb61-064d-9a69-231bc045f50f\",\"capabilities\":{\"browserName\":\"firefox\",\"browserVersion\":\"55.0\",\"platformName\":\"darwin\",\"platformVersion\":\"16.7.0\",\"pageLoadStrategy\":\"normal\",\"acceptInsecureCerts\":false,\"timeouts\":{\"implicit\":0,\"pageLoad\":300000,\"script\":30000},\"rotatable\":false,\"specificationLevel\":0,\"moz:processID\":35977,\"moz:profile\":\"/var/folders/lp/kxd1t1m9113fpq4fv8r2gyrw0000gq/T/rust_mozprofile.uvDtYJBVrZEq\",\"moz:accessibilityChecks\":false}}]\r\n1504881853106\twebdriver::server\tDEBUG\t<- 200 OK {\"value\": {\"sessionId\":\"975e7509-bb61-064d-9a69-231bc045f50f\",\"capabilities\":{\"acceptInsecureCerts\":false,\"browserName\":\"firefox\",\"browserVersion\":\"55.0\",\"moz:accessibilityChecks\":false,\"moz:processID\":35977,\"moz:profile\":\"/var/folders/lp/kxd1t1m9113fpq4fv8r2gyrw0000gq/T/rust_mozprofile.uvDtYJBVrZEq\",\"pageLoadStrategy\":\"normal\",\"platformName\":\"darwin\",\"platformVersion\":\"16.7.0\",\"rotatable\":false,\"specificationLevel\":0,\"timeouts\":{\"implicit\":0,\"pageLoad\":300000,\"script\":30000}}}}\r\n2017-09-08 09:44:13 INFO Selenium <- {\"value\": {\"sessionId\":\"975e7509-bb61-064d-9a69-231bc045f50f\",\"capabilities\":{\"acceptInsecureCerts\":false,\"browserName\":\"firefox\",\"browserVersion\":\"55.0\",\"moz:accessibilityChecks\":false,\"moz:processID\":35977,\"moz:profile\":\"/var/folders/lp/kxd1t1m9113fpq4fv8r2gyrw0000gq/T/rust_mozprofile.uvDtYJBVrZEq\",\"pageLoadStrategy\":\"normal\",\"platformName\":\"darwin\",\"platformVersion\":\"16.7.0\",\"rotatable\":false,\"specificationLevel\":0,\"timeouts\":{\"implicit\":0,\"pageLoad\":300000,\"script\":30000}}}}\r\n2017-09-08 09:44:13 INFO Selenium Detected W3C dialect.\r\n```"}}
{"actor":{"display_login":"lmtierney"}}