I've recently inherited some Selenium Webdriver code, written in Python 2.7. It is logging copious amounts of data to /tmp on Ubuntu - so much that it is becoming a problem. I am trying to turn it off (or at least down).
I have been running around trying to RTFM, but this is a new version of Selenium (2.19.0) and the manuals aren't written yet!
I can see there is a method called
import logging selenium_logger = logging.getLogger('selenium.webdriver.remote.remote_connection') # Only display possible problems selenium_logger.setLevel(logging.WARNING)