Write A Program Using Lambda Python Logging To File