![civ 6 wiki modding code civ 6 wiki modding code](https://www.odingaming.com/wp-content/uploads/2018/01/red-1024x575.jpg)
![civ 6 wiki modding code civ 6 wiki modding code](https://www.gamersdecide.com/sites/default/files/civ6-r.e.d._modpack-e.jpg)
The log files inside the Log Folder are a valuable set of files. With regular notepad you'll have to re-open the file, however with notepad++ it will detect the file has been changed and ask you if you'd like to reload it. Note - The reason I suggested Notepad++ in the tools section is that you might have the log file open before the error is thrown in there. These errors populated the database.log file in the Log Folder (See Folders section) when the game was at the loading screen.
![civ 6 wiki modding code civ 6 wiki modding code](https://www.gamersdecide.com/sites/default/files/screenhunter_165_2.jpg)
The yellow lines are (roughly) each time I clicked "Start Game" at the main menu. The screenshot below contains examples of these types of errors (highlighted in red). These are caused by typing something wrong (syntax) or not inserting a value (foreign key reference which also can be caused by inserting a reference to something before it has been inserted itself). The most common set of errors you'll run into when starting out are syntax and foreign key reference errors.