title: How to configure GeckoDriver with log level and log location through Selenium and Python?
body: <p>I am new to python,I writed a program to collect information for me(python+selenium+geckodriver+firefox),everything worked fine,but geckodriver.exe generated too much log,sometimes the single file size of geckodriver.log even reached 8GB.</p>
  
  <p>I searched over galaxy and google and stackoverflow,I can not find an solution to disable geckodriver.log,<a href="https://stackoverflow.com/questions/50109910/how-do-i-relocate-disable-geckodrivers-log-file-in-selenium-python-3">this question similar to mine</a>,I know use some parameter could decrease log</p>
  
  <pre><code>geckodriver.exe --log fatal
  </code></pre>
  
  <p>And I know python could assign path of geckodriver</p>
  
  <pre><code>driver=webdriver.Firefox(executable_path='C:\geckodriver.exe')
  </code></pre>
  
  <p>Is it possible to combine them together?like below:</p>
  
  <pre><code>driver=webdriver.Firefox(executable_path='C:\geckodriver.exe --log fatal')
  </code></pre>
  
  <p>I tried but failed,Can anyone help me?thanks!</p>