[python] How to write to a file, using the logging Python module?