Python3 Selenium ChromeDriver Disable Extensions Logging Only Pyinstaller Windows 10

Python3 Selenium ChromeDriver Disable Extensions Logging Only Pyinstaller Windows 10

I am using Windows 10, Python 3.5.4, Windows Chrome Driver 2.33 and Selnium 3.6.0 and Pyinstaller 3.3.

My Chrome Driver extensions produce logging to the console which looks to be cause caused by the extensions in Chrome.

(I have tried with chrome_options.add_argument("--disable-extensions") and the logging was not evident)

I want to keep using the Chrome Extensions however I just want to disable this logging.

Until I can disable this logging I cannot create a pyinstaller.exe without a console.

Any suggestions on how to disable selenium chrome driver extension logging only? Or a work around in Python to play nice with pyinstaller to create the exe without a console?

Thanks for your time.

# Python Script Parameters for chrome driver.

# example.py

chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument("--disable-infobars")
chrome_options.add_argument("--disable-logging")
chrome_options.add_argument("--disable-notifications")
chrome_options.add_argument("--disable-default-apps")
chrome_options.add_argument('--user-data-dir=C:\\Users\\testuser\\AppData\\Local\\Google\\Chrome\\User Data')

driver = webdriver.Chrome(r"D:\Selenium\chromedriver_win32\chromedriver.exe", chrome_options=chrome_options)