Logging To File Python Multithreading Example