title: Fastest way to write to a log in python
body: <p>I am using the gevent loop in uWSGI and I write to a redis queue.  I get about 3.5 qps.  On occasion, there will be an issue with the redis connection so....if fail, then write to a file where I will have a separate process do cleanup later.  Because my app very latency aware, what is the fastest way to dump to disk in python?  Will python logging suffice?</p>