Make stdout unbuffered by redirecting stdout to stderr
In the config file, log_file=stdout logs to stdout
Python 2.6 fixes