Enabling Trace Logging
Firstly, you need to locate the EA Importer's settings file. It can normally be found here:
C:\Users\[username]\AppData\Roaming\Inflectra\EnterpriseArchitectImporter\eaImporter.xni
The file will look something like:
<?xml version="1.0" encoding="UTF-8"?>
<sections>
<section name="52b49cb9-d2d0-4b40-98b8-f26406974a4d">
<item key="project" value="xxxxxxxxxxxxxxxxxxxx;https://xxxxxxx.spiraservice.net/21ABC15" />
<item key="rootreq" value="" />
<item key="fileimportreq" value="True" />
<item key="fileimportscr" value="False" />
<item key="fileimportfea" value="False" />
<item key="fileimportuse" value="False" />
</section>
<section name="95363dca-4ff4-488a-bfce-7f655b12a935">
<item key="project" value="xxxxxxxxxxxxxxxxxxx;https://xxxxxx.spiraservice.net/21ABC15" />
<item key="rootreq" value="" />
<item key="fileimportreq" value="True" />
<item key="fileimportscr" value="False" />
<item key="fileimportfea" value="False" />
<item key="fileimportuse" value="False" />
</section>
</sections>
What you need to do is add the following:
<section name="General">
<item key="Debug" value="True" />
</section>
so that the file looks like:
<?xml version="1.0" encoding="UTF-8"?>
<sections>
<section name="General">
<item key="Debug" value="True" />
</section>
<section name="52b49cb9-d2d0-4b40-98b8-f26406974a4d">
<item key="project" value="xxxxxxxxxxxxxxxxxxxx;https://xxxxxxx.spiraservice.net/21ABC15" />
<item key="rootreq" value="" />
<item key="fileimportreq" value="True" />
<item key="fileimportscr" value="False" />
<item key="fileimportfea" value="False" />
<item key="fileimportuse" value="False" />
</section>
<section name="95363dca-4ff4-488a-bfce-7f655b12a935">
<item key="project" value="xxxxxxxxxxxxxxxxxxx;https://xxxxxx.spiraservice.net/21ABC15" />
<item key="rootreq" value="" />
<item key="fileimportreq" value="True" />
<item key="fileimportscr" value="False" />
<item key="fileimportfea" value="False" />
<item key="fileimportuse" value="False" />
</section>
</sections>
Now re-run the EA importer again and the there should be trace logging in the following two places:
- The Windows Event Viewer
- A text file that is located at this location: C:\Users\[username]\AppData\Local\SpiraTeam EA Importer.log