Hello Bitsfff
Apologies for my late reply.
After observation, it seems that this setup log is the update log in 2018. did you see other recent update log in this path?
Based on my query, the channel for free upgrade from Windows 8.1 to Windows 10 seems to have been closed as early as 2016. This point may be one of the reasons why your current upgrade fails, so even if the upgrade is successful, your Windows 8.1 license may be required buy again. Before deciding to upgrade, I can't guarantee that the current Windows 8.1 license will still be valid for Windows 10.
If you need to use Windows 10, try back up all important data, then delete all partitions and format all drives, make a USB installation medium of Windows 10, and then boot from the BIOS/UEFI interface. And perform a new installation, the following is an installation tutorial, the operation time may take about 30 minutes. The specific time depends on the hardware quality of the current computer:
How to: Perform a Clean Install or Reinstall of Windows 10 - Microsoft Community
Feel free to post back here and I will reply to you as soon as possibile.