write error in log file python. There are any references about write error in log file python in here. you can look below.