The SmartPlant Adapter for Intergraph Smart Instrumentation provides a means of debugging the tool by means of log files. Logging is enabled via a flag located under the [API] section of the Intools.ini file.
The flag is called Writelog. To enable logging, the value of this flag is set to 3. To disable logging, the value of the flag is set to 0.
When logging is enabled, a log file with the following name format is created in the main folder of Intergraph Smart Instrumentation:
‘SPIAdapter’ + 4 digits running sequentially + ‘.log’. For example, SPIAdapter0001.log, SPIAdapter0002.log and so forth.
The log file includes a list of all called functions, SQL statements, and objects that are created or deleted.