Update traceback to log file, if LDTP_DEBUG_FILE environment variable is set
Simplifyg checking LDTP_DEBUG_FILE environment variable