Set up logging for the SmartPlant Test Tool - Integration - Update 44 - Help - Hexagon

SmartPlant Integration COM Help

Language
English
Product
Integration
Search by Category
Help
SmartPlant Foundation / SDx Version
10
Smart P&ID Version
9 (2019)
Smart Engineering Manager Version
10 (2019)

If you want the SmartPlant Test Tool to log testing information to text files, you must create a system environment variable named IntergraphFrameworkTestToolLogging with the value of the logging flags.

  1. In the Windows Control Panel, go to System and Security > System > Advanced System Settings.

  2. On the System Properties dialog box, click Advanced, and then click Environment Variables.

  3. On the Environment Variables dialog box, click New. The New System Variable dialog box is displayed.

  4. Type IntergraphFrameworkTestToolLogging in the Variable name box.

  5. In the Variable value box, type the number for the logging flag rule you want to apply.

    • Type 1 to log errors caught by the SmartPlant Test Tool.

      SHARED Tip The SmartPlant Test Tool cannot catch all errors from the SmartPlant Common UI Control and SmartPlant Foundation.

    • Type 2 to log the entry and exit of some of the procedures in the SmartPlant Test Tool.

    • Type 4 to log certain extra comments.

    • Add the numbers and type the sum to combine different types of logging. For example, type 7 to request all logging.

  6. Click OK on each of the dialog boxes that you displayed.

  • You can create up to four log files.

    • %TEMP%\EFTestTool.log

    • %TEMP%\EFTestToolAdapter.log

    • %TEMP%\EFTestToolToolDocs.log

    • %TEMP%\EFTestToolNonUI.log

    %TEMP% is the value of the TEMP environment variable, most commonly C:\Documents and Settings\<username>\Local Settings\Temp for users and C:\WINNT\Temp for services.

  • If a file already exists, information will be appended to it.

See Also

Logging setup