Create ThreadRecordLog.py

Start the thread to record the log