Enable the execution time logs - Intergraph Smart P&ID - 11 HF 33 - Help - Hexagon

Intergraph Smart P&ID Utilities Help

ft:locale
en-US
Product
Intergraph Smart P&ID
Subproduct
Utilities
Search by Category
Help
Smart P&ID Version
11
  1. Go to the [Product installation folder]\SmartPlant\P&ID Workstation\bin folder and open the NLog.config file.

  2. In the code, uncomment the <extensions> element.

    SHARED Tip To uncomment, remove both the opening <!-- and closing --> tags that surround the element.

  3. Uncomment the ExecutionTimeTrackerLog <target> element.

  4. Under the rules section, uncomment the ExecutionTimeTracker <logger> element.

  5. Ensure that the enabled attribute is set to true.

Customize the file path and name

In the ExecutionTimeTrackerLog <target> element, update the fileName attribute to set the new folder path and filename. There are two ways to do this:

  • Use a variable for the filename as shown in the example below.

  • Specify the filename directly as shown in the example below.

By default, the log files are stored on the Desktop.

Choose the processes you want to monitor

  1. Go to the [Product installation folder]\SmartPlant\P&ID Workstation\bin folder and open the ProductOperations.config file.

  2. Within the <OperationIdentifiers> element, comment out the <add> elements that you do not want to monitor, as shown in the example below.

    SHARED Tip To comment, add both the opening <!-- and closing --> tags surrounding the element.

Disable the execution time logs

There are two ways to disable the execution time logs:

  • In the NLog.config file, under the rules section, comment out the ExecutionTimeTracker <logger> element.

    -OR-

    Set the enabled attribute to false.