Fix logging.  Now flask logs like it should.