Author Topic: Could not create the log file  (Read 227 times)

yetty

  • Newbie
  • *
  • Posts: 5
Could not create the log file
« on: May 26, 2024, 11:49:25 am »
Hello!
Since Sim Update 15 I get this error when MSFS is loading

Couatl Scripting Engine
Could not create the log file at "C:/PROGRAM FILES\WINDOWSAPPS\MICROSOFT.FLIGHTSIMULATOR_1.36.2.0_X64_8WEKYB3D8BBWE\coautl.log" the log file has been created at "C:\Users\James\AppData\Roaming\Virtualali\Couatl.log" Please check your configuration files

I am unsure how to fix this?
It doesn't seem to effect the operations of GSX.

yetty

  • Newbie
  • *
  • Posts: 5
Re: Could not create the log file
« Reply #1 on: May 26, 2024, 11:54:47 am »
Update:
I found a fix for anyone who has the same issue, its because Sim Update 15 change the version of the game and where its located.

How to fix:
1. Open up
Code: [Select]
%appdata%\Virtuali\Couatl_MSFS.ini2. Change
Code: [Select]
logFile from
Code: [Select]
C:\PROGRAM FILES\WINDOWSAPPS\MICROSOFT.FLIGHTSIMULATOR_1.36.2.0_X64__8WEKYB3D8BBWE\couatl.log to
Code: [Select]
C:\PROGRAM FILES\WINDOWSAPPS\MICROSOFT.FLIGHTSIMULATOR_1.37.18.0_X64__8WEKYB3D8BBWE\couatl.log
The difference is changing the version to 1.37.18.0
« Last Edit: May 26, 2024, 11:56:31 am by yetty »

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50870
    • VIRTUALI Sagl
Re: Could not create the log file
« Reply #2 on: May 30, 2024, 10:59:59 pm »
I found a fix for anyone who has the same issue, its because Sim Update 15 change the version of the game and where its located.

We never suggested to put a path in the log file, precisely to prevent issues like this, because with no path:

logFile = Couatl.log

It will create it in its own folder in %appdata%\Virtuali

Or, if you want to be 100% sure it will never change, set it like this:

logFile = %appdata%\Virtuali\Couatl.LOG