Yelp/mrjob — Issue #252: don't complain about no logger in quiet mode
Author: davidmarin
Created: 2011-11-02 21:39:14+00:00
State: open
Labels: Cleanup

`MRJob` only uses the `logging` module for warnings, but if a warning is emitted and the job is run with `-q`, we get a warning about no logging handlers existing.

We should set up a `NullHandler` for quiet mode. See http://docs.python.org/release/3.1.3/library/logging.html#configuring-logging-for-a-library for sample code (yes, these are Python 3.1 docs, but this should still work).